[Tutor] NumPy Generates ValueError: Some errors were detected ! Line #9 (got 42 columns instead of 1)
Alan Gauld
alan.gauld at btinternet.com
Fri Sep 27 12:22:52 EDT 2019
On 27/09/2019 12:47, Stephen P. Molnar wrote:
> 6714-6.210.5192.90RANKING 6811-6.140.9892.78RANKING
> 6920-6.110.7192.67RANKING 61019-6.011.3693.00RANKING
> 7112-6.300.0093.28RANKING 814-5.850.0092.97RANKING
> _______________________________________________________________________|
>
> and the error is:
>
> errors were detected ! Line #29 (got 1 columns instead of 7)|
>
It looks like your data is separated by periods. But I don't see how you
tell
Python that fact? I suspect there should be something like a
separator='.' argument in there somewhere?
I don't know the numpy stuff at all so can only surmise but that's
what I'd expect.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list