-
Notifications
You must be signed in to change notification settings - Fork 412
PARSynthesizer: FutureWarnings in groupby.apply and Series.__getitem__ from pandas
#2707
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
| if _is_datetime_type(sequence_index[self._sequence_index]): | ||
| sequence_index[self._sequence_index] = cast_to_datetime64( | ||
| sequence_index[self._sequence_index] | ||
| ).astype(np.int64) |
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.
Before pandas 2.2, datetime columns stored as object dtypes were silently converted to float dtype. To be consistent with the fill_value used in L330 or L332, the column has to be numerical.
Let me know if this makes sense
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2707 +/- ##
=======================================
Coverage 98.18% 98.18%
=======================================
Files 74 74
Lines 7775 7781 +6
=======================================
+ Hits 7634 7640 +6
Misses 141 141
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c2e8215 to
2f2f8bc
Compare
2f2f8bc to
d1019d4
Compare
Resolve #2682
CU-86b6wkybp