TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.46k stars 1.74k forks source link

Fix pytest error with pandas 1.5.0 #548

Closed xmatthias closed 1 year ago

xmatthias commented 1 year ago

Pandas 1.5.0 is now raising an exception when the columns argument is a set. As such, the test should be adjusted to also work with the latest pandas version.

DataFrame constructor raises if index or columns arguments are sets (GH47215)

source: pandas releaselog

side note: Ci would currently be failing without this fix - since 1.5.0 is out (which happened on sept 19th).

mrjbq7 commented 1 year ago

Thanks!!