Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75262

Re: Best place to find sample data

Newsgroups comp.lang.python
Date 2014-07-26 16:15 -0700
References <c340dd4d-076c-4413-be54-70ec0aa4ae06@googlegroups.com>
Message-ID <af80f1b9-6a4e-4b0d-ba93-288455055b8c@googlegroups.com> (permalink)
Subject Re: Best place to find sample data
From Nicholas Cannon <nicholascannon1@gmail.com>

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Best place to find sample data Nicholas Cannon <nicholascannon1@gmail.com> - 2014-07-26 06:41 -0700
  Re: Best place to find sample data Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-07-26 18:57 +0200
    Re: Best place to find sample data memilanuk <memilanuk@gmail.com> - 2014-07-26 10:55 -0700
  Re: Best place to find sample data Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-26 21:28 +0000
  Re: Best place to find sample data Nicholas Cannon <nicholascannon1@gmail.com> - 2014-07-26 16:15 -0700
  Re: Best place to find sample data Nicholas Cannon <nicholascannon1@gmail.com> - 2014-07-26 16:15 -0700

csiph-web