Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address change in pandas 2.x value_counts(). #422

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

zivy
Copy link
Member

@zivy zivy commented Aug 8, 2023

The way value_counts worked changed between pandas 1.x and 2.x, the index is now named after the original object and not "index", see https://pandas.pydata.org/docs/dev/whatsnew/v2.0.0.html#value-counts-sets-the-resulting-name-to-count

The way value_counts worked changed between pandas 1.x and 2.x, the
index is now named after the original object and not "index", see
https://pandas.pydata.org/docs/dev/whatsnew/v2.0.0.html#value-counts-sets-the-resulting-name-to-count
@zivy zivy force-pushed the pandasUpdate branch 3 times, most recently from bf66de4 to 850347d Compare August 11, 2023 13:24
@zivy zivy force-pushed the pandasUpdate branch 2 times, most recently from cf669df to 92fe6dd Compare August 23, 2023 17:17
Harmonize the per_series and per_file results, so that the files
column is always a list. The list has multiple entries when doing a
per_series analysis and a single entry for the per_file analysis. This
enables uniform treatment of the resulting csv file.
@zivy zivy merged commit 6aac7fe into InsightSoftwareConsortium:master Aug 24, 2023
10 checks passed
@zivy zivy deleted the pandasUpdate branch August 24, 2023 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant