clustergrammer icon indicating copy to clipboard operation
clustergrammer copied to clipboard

AttributeError: 'Series' object has no attribute 'sort'

Open sundaresanab opened this issue 6 years ago • 4 comments

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!!?

HeatMap.txt

Thanks in advance.

sundaresanab avatar May 17 '18 09:05 sundaresanab

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

cornhundred avatar May 21 '18 15:05 cornhundred

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.

sundaresanab avatar May 24 '18 04:05 sundaresanab

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

cornhundred avatar May 24 '18 15:05 cornhundred

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.

cornhundred avatar Oct 31 '18 19:10 cornhundred