-
Notifications
You must be signed in to change notification settings - Fork 16
Update all indicators for pandas v2 #1825
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Can merge as-is, question minor
pa_pop = int(state_pop.loc[state_pop.state_id == "pa", "pop"].iloc[0]) | ||
wv_pop = int(state_pop.loc[state_pop.state_id == "wv", "pop"].iloc[0]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wacky. good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌 stellar adjustment, I totally missed that the other appends had been inside for() loops 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a pass through the deprecated list of options here to double check if we're using any of them. Didn't find any others.
Looks good to me 👍
@krivard This is ready to merge but we should wait to release until early next week in case there are any pandas v2-related issues we missed. |
Description
Update indicators to work with new
pandas
version 2.0.0. Most common change is to usenumeric_only=True
arg insum()
calls.Fixes
Closes #1820