Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix column naming in process_df for Pandas compatibility (#215)
This commit adjusts the process_df function in citibike.py to ensure consistent column naming across different versions of Pandas. It resolves an issue where the 'value_counts' method in newer Pandas versions automatically names the count column as 'count' instead of the intended 'users_count'. The fix explicitly renames the column to 'users_count', enhancing compatibility and predictability with various Pandas versions.
- Loading branch information