MIT-LCP / wfdb-python

Native Python WFDB package
MIT License
738 stars 300 forks source link

bug-fix: Pandas set indexing error #460

Closed ajadczaksunriselabs closed 1 year ago

ajadczaksunriselabs commented 1 year ago

Current version of Pandas will throw the following error when indexing using a set.

TypeError: Passing a set as an indexer is not supported. Use a list instead.

ajadczaksunriselabs commented 1 year ago

I think this is good to go now. Pandas started enforcing this behavior for the 2.0 release. https://github.com/pandas-dev/pandas/pull/49511

tompollard commented 1 year ago

Looks good to me, thanks again!