[SciPy-User] MemoryError with tsfromtxt

Pierre GM pgmdevlist at gmail.com
Wed Sep 8 15:04:28 EDT 2010


On Sep 8, 2010, at 8:03 PM, Timmie wrote:

> Hello,
> using scikits.timeseries.tsfromtxt I got the following error:
> 
>  File "C:\Python26\lib\site-packages\scikits\timeseries\extras.py", line 504, 
> in tsfromtxt
>    mrec = genfromtxt(fname, **kwargs)
>  File "C:\Python26\lib\site-packages\scikits\timeseries\_preview.py", line 
> 1221, in genfromtxt
>    append_to_rows(tuple(values))
> MemoryError
> 
> Where does this come from?

You must have quite a huge file... Note that it's not a scikits.timeseries pb, just a standard numpy one.

> And what could I do to mitigate it?

Cut the file in pieces ?


More information about the SciPy-User mailing list