clustergrammer
clustergrammer copied to clipboard
AttributeError: 'Series' object has no attribute 'sort'
Hi Nick,
When i upload this text file, i get "AttributeError: 'Series' object has no attribute 'sort'".
Can you pls tell me what am i missing here!!?
Thanks in advance.
Hi,
I was able to upload your file to the Clustergrammer web application link and cluster it using Clustergrammer-PY. Where did you see this error, in Clustergrammer-PY? The issue might be that you are not using the latest version of Clustergrammer-PY.
Best, Nick
Hi Nick,
I using latest version of Clustergrammer-PY only, still i get the same error. Also i m using Python 3.6.5 version, do i need to downgrade to Python 2,7. Will that work?
Thanks in advance.
Hi,
That might be the problem (see stackoverflow link). I've only used up to Python 3.5 and I'm using Pandas 0.19.2. You can try downgrading to a previous version of Pandas to fix the issue. I'll update Clustergrammer-PY to take care of this soon.
Best, Nick
Hi @sundaresanab I tested clustering your file on Python 3.6.6 and Pandas 0.22.0 (see requirements.txt) and it ran without error.
I also made a mybinder example notebook that you can try out here: mybinder notebook. And the corresponding small github repo can be found here.
Please let us know if this helps or if you have any other questions.