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)

1 answers ( 0 marked as helpful)
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.