alan-turing-institute / WimbledonPlanner

Project planning for REG
MIT License
0 stars 0 forks source link

pandas.datetime is deprecated #63

Closed jack89roberts closed 3 years ago

jack89roberts commented 4 years ago

Getting a lot of this:

The pandas.datetime class is deprecated and will be removed from pandas in a future version. Import from datetime module instead.

Should swap to direct use of datetime as suggested.

jack89roberts commented 3 years ago

Done in #82

Prithivi-Raj commented 2 years ago

Getting a lot of this:

The pandas.datetime class is deprecated and will be removed from pandas in a future version. Import from datetime module instead.

Should swap to direct use of datetime as suggested.

What is the solution?

jack89roberts commented 2 years ago

@Prithivi-Raj Rather than e.g. pd.datetime.now() you should use the datetime library directly, e.g.

from datetime import datetime
datetime.now()
Prithivi-Raj commented 2 years ago

@Prithivi-Raj Rather than e.g. pd.datetime.now() you should use the datetime library directly, e.g.

from datetime import datetime
datetime.now()

Thank you so much