-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: Numpy compat functions namespace #39092
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
let's save this until we revert the numpy fixes |
Sounds good, will fix the errors in the meantime. Will reopen when reverted |
Reopening since the other commit was reverted. Should we make |
@@ -15,8 +15,7 @@ | |||
from pandas._libs.tslib import Timestamp | |||
from pandas._libs.tslibs import parsing | |||
from pandas._libs.tslibs.parsing import parse_datetime_string | |||
from pandas.compat import is_platform_windows | |||
from pandas.compat.numpy import np_array_datetime64_compat | |||
from pandas.compat import is_platform_windows, np_array_datetime64_compat |
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.
OT: we can prob remove this np_array_datetime64_compat it is pretty old stuff
@@ -10,7 +10,7 @@ | |||
from pandas._libs.tslibs.parsing import DateParseError | |||
from pandas._libs.tslibs.period import INVALID_FREQ_ERR_MSG, IncompatibleFrequency | |||
from pandas._libs.tslibs.timezones import dateutil_gettz, maybe_get_tz | |||
from pandas.compat.numpy import np_datetime64_compat | |||
from pandas.compat import np_datetime64_compat |
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.
this too (but just make a new issue for now)
yes |
Done, opened #39283 |
thanks @phofl |
Should we do something about the private variables
_np_version_under1p19
and_np_version_under1p20
too?cc @jreback