mdeff / fma

FMA: A Dataset For Music Analysis
https://arxiv.org/abs/1612.01840
MIT License
2.2k stars 432 forks source link

Added exception for TypeError #47

Closed FrescoFlacko closed 3 years ago

FrescoFlacko commented 4 years ago

Added exception for TypeError when splitting subsets

mdeff commented 3 years ago

Can you paste here the exact exception you got? What where you doing that triggered the exception? Which version of pandas were you using?

mdeff commented 3 years ago

Okay so newer versions of pandas throw a TypeError [https://github.com/mdeff/fma/issues/34#issuecomment-802352292] instead of a ValueError (which was only during the deprecation period?). Thanks for the fix!