-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Closed
Labels
Description
There is a bunch of datetime64 conversion code in pandas which I think is copy/pasted from numpy. It would be really fulfilling to delete a bunch of that and import it from numpy instead. AFAICT this could be done if a few NPY_NOEXPORT were removed upstream.
In particular, pandas' np_datetime_strings.c mirrors numpy's datetime_strings.c and pandas' np_datetime.c implements a bunch of functions identical to those in numpy's datetime.c. If convert_datetime_to_datetimestruct were exposed to cython, a big chunk of pandas compat code could be deleted (... a few release cycles from now when dependencies catch up).
Would numpy folks be amenable to that?
Reactions are currently unavailable