TimeEval / GutenTAG

GutenTAG is an extensible tool to generate time series datasets with and without anomalies; integrated with TimeEval.
MIT License
71 stars 13 forks source link

Fix usage of deprecated API of Pandas #23

Closed CodeLionX closed 1 year ago

CodeLionX commented 1 year ago

Pandas released a new major version (2.0.0) that removed some deprecated APIs that we still used. This PR fixes the API usage and increased the NumPy version to avoid a CVE!

codecov[bot] commented 1 year ago

Codecov Report

Merging #23 (c38fb87) into main (89cdbe5) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   89.57%   89.57%           
=======================================
  Files          52       52           
  Lines        2033     2034    +1     
=======================================
+ Hits         1821     1822    +1     
  Misses        212      212           
Flag Coverage Δ
unittests 89.57% <100.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gutenTAG/addons/timeeval.py 87.73% <100.00%> (+0.11%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more