fzi-forschungszentrum-informatik / TSInterpret

An Open-Source Library for the interpretability of time series classifiers
BSD 3-Clause "New" or "Revised" License
115 stars 8 forks source link

[Q] Deprecation of Pandas forced (1.3.5) #32

Closed hugo-rddi closed 1 year ago

hugo-rddi commented 1 year ago

hi. I was trying to use this package for XAI purposes but there is a version management conflict. TSInterpret forces pandas to be <= 1.3.5 when I want/need to use pandas2.

Is there a way to have this with your package ? Thanks a lot for your help

JHoelli commented 1 year ago

Hi

which python version are you using? I will try to replicate the issue and check for side effects.

hugo-rddi commented 1 year ago

Python 3.10

Our project is built on several packages including pandas>=2.0 . We then tried installing TSInterpret, and all went well. However, we perform Dataframe or Datarange operations as processing steps, which are no longer available because pandas has been downgraded to version 1.3.5.

JHoelli commented 1 year ago

Hi,

I just soften the pandas restriction as it does not seem to have any side effects (at least according to the tests). Feel free to test the new version by:

pip install https://github.com/fzi-forschungszentrum-informatik/TSInterpret/archive/refs/heads/main.zip

Let me know if it works. If it works I will most likely make it available on pypi by end of next week.

hugo-rddi commented 1 year ago

Seems to be working thanks !