traja icon indicating copy to clipboard operation
traja copied to clipboard

import error of is_datetime_or_timedelta from pandas

Open miaowangcissy opened this issue 1 year ago • 2 comments

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.

miaowangcissy avatar Jul 16 '24 11:07 miaowangcissy

Same issue here

senis000 avatar Sep 02 '24 15:09 senis000

Same issue here as well.

noahpettit avatar Sep 16 '24 17:09 noahpettit