Best place to find sample data

Nicholas Cannon nicholascannon1 at gmail.com
Sun Jul 27 01:15:02 CEST 2014


On Saturday, July 26, 2014 9:41:11 PM UTC+8, Nicholas Cannon wrote:
 Also I am having troubles with Numpy and its loadtxt function:
> 
> 
> 
> ValueError: cannot set an array element with a sequence

I found out why this has occurred because the csv file i was using didnt have a consistent amount of values in each line so when the load text tried to load it into a list or whatever some lines had a missing index or something.




More information about the Python-list mailing list