-
Notifications
You must be signed in to change notification settings - Fork 454
Closed
Description
Hi, I've referred to the Usage section in the README as well as #9 and #10. I've checked out rc1 because it's appropriate for the version of fma_metadata.zip and fma_small.zip that I checked out, and also I've set my environment variables.
Nevertheless, running the line
tracks = utils.load('tracks.csv')
in either the usage.ipynb file or my own very simple Python script will produce a ValueError about categories:
Traceback (most recent call last):
File "proc_fma.py", line 3, in <module>
tracks = utils.load('fma_metadata/tracks.csv')
File "/media/datadrive/datasets/fma/utils.py", line 213, in load
'category', categories=SUBSETS, ordered=True)
File "/home/shawley/anaconda3/envs/panotti/lib/python3.6/site-packages/pandas/core/generic.py", line 5883, in astype
dtype=dtype, copy=copy, errors=errors, **kwargs
File "/home/shawley/anaconda3/envs/panotti/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 581, in astype
return self.apply("astype", dtype=dtype, **kwargs)
File "/home/shawley/anaconda3/envs/panotti/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 438, in apply
applied = getattr(b, f)(**kwargs)
File "/home/shawley/anaconda3/envs/panotti/lib/python3.6/site-packages/pandas/core/internals/blocks.py", line 557, in astype
return self._astype(dtype, copy=copy, errors=errors, values=values, **kwargs)
File "/home/shawley/anaconda3/envs/panotti/lib/python3.6/site-packages/pandas/core/internals/blocks.py", line 598, in _astype
"Got an unexpected argument: {}".format(deprecated_arg)
ValueError: Got an unexpected argument: categories
I haven't seen this error reported in any of the other issues. Can anyone help, e.g. @mdeff ?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels