Skip to content. | Skip to navigation

Sections
Personal tools
You are here: Home Forum Using data sets how to load the spike times of pfc-1?

how to load the spike times of pfc-1?

Up to Using data sets

how to load the spike times of pfc-1?

Posted by Tatsuya Goto at November 28. 2018

Data description.pdf says , "Issue the following command to load the spike times 'import pandas    spike_times=pandas.load('./kluster0/session_name.kkp') ' ".

But attribute error occurs that " module 'pandas' has no attribute 'load' ".

I use pandas 0.20.1.

I would  appreciate it if you could answer my questions.

 


 


 

Re: how to load the spike times of pfc-1?

Posted by Chris Rodgers at November 29. 2018

Hi Tatsuya, please consult the README on the associated github: https://github.com/cxrodgers/Rodgers2014

The syntax of the pandas module has changed since this code was released. You will need pandas v0.10 to run the code as it is. Otherwise you will need to modify the code to follow the updated pandas syntax. In this case you can just replaced pandas.load with pandas.read_pickle, but there are probably other version differences as well, so the safest thing is to downgrade all modules to the versions listed in the README.

Powered by Ploneboard
Document Actions