Last answered:

15 Mar 2024

Posted on:

05 Nov 2022

0

Sharing something

While running the code, I got some error and after removing the error I got this result.

df_comp['date'].describe(datetime_is_numeric = True)

image.png

1 answers ( 0 marked as helpful)
Posted on:

15 Mar 2024

0

FutureWarning: Treating datetime data as categorical rather than numeric in `.describe` is deprecated and will be removed in a future version of pandas. Specify `datetime_is_numeric=True` to silence this warning and adopt the future behavior now.

Submit an answer