I'm trying to import traja in my python env with pandas == 2.2.2, but it shows the import error:"ImportError: cannot import name 'is_datetime_or_timedelta_dtype' from 'pandas.core.dtypes.common' (/miniconda/envs/datalad/lib/python3.12/site-packages/pandas/core/dtypes/common.py)"
It appears that is_datetime_or_timedelta_dtype has been removed from Pandas as of version 2.1.0. While we can resolve this issue by installing an earlier version of Pandas, it would be beneficial for traja to maintain compatibility with future versions of Pandas.
Describe the bug
I'm trying to import traja in my python env with pandas == 2.2.2, but it shows the import error:"ImportError: cannot import name 'is_datetime_or_timedelta_dtype' from 'pandas.core.dtypes.common' (/miniconda/envs/datalad/lib/python3.12/site-packages/pandas/core/dtypes/common.py)"
It appears that is_datetime_or_timedelta_dtype has been removed from Pandas as of version 2.1.0. While we can resolve this issue by installing an earlier version of Pandas, it would be beneficial for traja to maintain compatibility with future versions of Pandas.