Pierre GM wrote:
On Dec 4, 2008, at 7:22 AM, Manuel Metz wrote:
Will loadtxt in that case remain as is? Or will the _faulttolerantconv
class be used?
No idea, we need to discuss it. There's a problem with
_faulttolerantconv: using np.nan as default value will not work in
Python2.6 if
All,
Here's the second round of genloadtxt. That's a tad cleaner version
than the previous one, where I tried to take into account the
different comments and suggestions that were posted. So, tabs should
be supported and explicit whitespaces are not collapsed.
FYI, in the __main__ section,
And now for the tests:
# pylint disable-msg=E1101, W0212, W0621
import numpy as np
import numpy.ma as ma
from numpy.ma.testutils import *
from StringIO import StringIO
from _preview import *
class TestLineSplitter(TestCase):
Tests the LineSplitter class.
#
def
Pierre GM wrote:
All,
Here's the second round of genloadtxt. That's a tad cleaner version than
the previous one, where I tried to take into account the different
comments and suggestions that were posted. So, tabs should be supported
and explicit whitespaces are not collapsed.
FYI, in
On Dec 4, 2008, at 7:22 AM, Manuel Metz wrote:
Will loadtxt in that case remain as is? Or will the _faulttolerantconv
class be used?
No idea, we need to discuss it. There's a problem with
_faulttolerantconv: using np.nan as default value will not work in
Python2.6 if the output is to be
Pierre GM wrote:
All,
Here's the second round of genloadtxt. That's a tad cleaner version than
the previous one, where I tried to take into account the different
comments and suggestions that were posted. So, tabs should be supported
and explicit whitespaces are not collapsed.
Looks
I am not familiar with this, but it looks quite useful:
http://www.stecf.org/software/PYTHONtools/astroasciidata/
or (http://www.scipy.org/AstroAsciiData)
Within the AstroAsciiData project we envision a module which can be
used to work on all kinds of ASCII tables. The module provides a