Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import error of is_datetime_or_timedelta from pandas #103

Open
miaowangcissy opened this issue Jul 16, 2024 · 2 comments
Open

import error of is_datetime_or_timedelta from pandas #103

miaowangcissy opened this issue Jul 16, 2024 · 2 comments

Comments

@miaowangcissy
Copy link

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.

@senis000
Copy link

senis000 commented Sep 2, 2024

Same issue here

@noahpettit
Copy link

Same issue here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants