sky-uk/anticipy

FutureWarning when importing pandas

Closed this issue · 3 comments

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

This is raised when checking for datetime data type:

if isinstance(date_start_actuals, pd.datetime):

Hi @capelastegui, I can assert this warning is still showing.

Yes, the fix is on the development branch, and it's been a while since the last release. I'll try to push out a new release soon.

Release 0.1.8 fixes this.