-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: remove Block._try_coerce_arg #29139
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
The test failure here seems related? You might reproduce it locally by elevating warnings to errors with |
@@ -7,7 +7,8 @@ | |||
|
|||
import numpy as np | |||
|
|||
from pandas._libs import NaT, Timestamp, lib, tslib, writers | |||
from pandas._libs import NaT, lib, tslib, writers | |||
from pandas._libs.index import convert_scalar |
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.
followup: convert_scalar should be in pandas.core.dtypes.cast (you can just call the cython version), but import / expose from there.
also the cython version is in a very weird place (index.pyx).
nice removals, pls create an issue / PR for the follow when you have a chance. |
Made possible by modernizing
libindex.convert_scalar