Skip to content

DEPR: Remove pandas.datetime #30610

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

Closed
ryankarlos opened this issue Jan 2, 2020 · 2 comments · Fixed by #30489
Closed

DEPR: Remove pandas.datetime #30610

ryankarlos opened this issue Jan 2, 2020 · 2 comments · Fixed by #30489
Assignees
Labels
Deprecate Functionality to remove in pandas
Milestone

Comments

@ryankarlos
Copy link
Contributor

ryankarlos commented Jan 2, 2020

A follow up issue from #30296 , where it was discussed that pd.datetime should also be deprecated to only allow imports directly from datetime

>>> import pandas as pd
>>> pd.datetime
<class 'datetime.datetime'>
@ryankarlos
Copy link
Contributor Author

take

@jreback jreback added the Deprecate Functionality to remove in pandas label Jan 2, 2020
@jreback jreback added this to the 1.0 milestone Jan 2, 2020
kavvkon pushed a commit to energy-modelling-toolkit/Dispa-SET that referenced this issue Feb 5, 2020
The pandas.datetime class is now deprecated.
Import from datetime instead (GH30610).

pandas-dev/pandas#30610
@abhinavgaur
Copy link

abhinavgaur commented Sep 9, 2020

So, only places where I need to make change in my past codes is

  • add from datetime import datetime and

  • replace pd.datetime with datetime ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants