-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: downcast inferring round floats to ints #53108
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
Changes from 5 commits
51c9c29
d9829bf
eaa783c
8888711
9debd13
30f66f6
9b44fc1
0e1c2b0
ec44648
2858c5d
0023ab4
d5b8d53
1acf224
5a157eb
1f34039
2bcd4c6
eee8e60
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,6 +145,10 @@ def pytest_collection_modifyitems(items, config) -> None: | |
"(Series|DataFrame).bool is now deprecated and will be removed " | ||
"in future version of pandas", | ||
), | ||
( | ||
"pandas.core.generic.NDFrame.clip", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add this one to the whatsnew as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will update There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated + green |
||
"where downcasting from floating dtype to integer dtype is deprecated", | ||
), | ||
] | ||
|
||
for item in items: | ||
|
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.
What's the keyword doing now? Only casting from int64 -> int8?
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.
Just object dtype