[Numpy-discussion] Tabular: Importing data from file

2010-08-03 Thread Robert Faryabi
Hi there; I'm using Tabular Package for manipulating tab-delimited data. There is a small problem that I cannot get my head around it. When I construct my tabarray from file, the blank fields are replaced by "nan". Does any one knows how to just keep them as empty string (ie. ' ')? Thanks, _

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-28 Thread Robert Faryabi
rbage" in /usr.local) > > -S. > > > > > On Tue, Jul 27, 2010 at 6:29 PM, Robert Faryabi > wrote: > > I just looked at my system more carefully. > > > > There are two executable files > > > > /usr/local/bin/python > > > > and

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
I just looked at my system more carefully. There are two executable files /usr/local/bin/python and /usr/bin/python this is a link to python2.6 I believe that the first one is source compiled version. So, how can I get rid of it? On Tue, Jul 27, 2010 at 12:09 PM, Robert Faryabi wrote: >

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
it returns /usr/local/bin/python On Tue, Jul 27, 2010 at 12:07 PM, Matthieu Brucher < matthieu.bruc...@gmail.com> wrote: > What does "which python" return? > > 2010/7/27 Robert Faryabi : > > I'm getting the same > > > >>>> sys.maxu

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
and numpy with different > parameters. But I've tried the same yesterday, and the Ubuntu > repository are OK in that respect, so there is something not quite > right with your configuration. > > Matthieu > > 2010/7/27 Robert Faryabi : > > I can see the numpy now, but I ha

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
ferent > > parameters. But I've tried the same yesterday, and the Ubuntu > > repository are OK in that respect, so there is something not quite > > right with your configuration. > > > > Matthieu > > > > 2010/7/27 Robert Faryabi : > >> I can see

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
any idea? It seems that the UCS4 and UCS2 are related to 16 and 8 bit unicode. On Tue, Jul 27, 2010 at 10:16 AM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Tue, Jul 27, 2010 at 7:46 AM, Robert Faryabi > wrote: > >> I am new to numpy. Hopefully this is a

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
com> wrote: > Python 2.6.5 from Ubuntu? > I tried the same yesterday evening, and it worked like a charm. > > Matthieu > > 2010/7/27 Robert Faryabi : > > I am using 2.5.6 > > > > Python 2.6.5 (r265:79063, Jun 28 2010, 20:31:28) > > [GCC 4.4.3] on linux2

Re: [Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
I am using 2.5.6 Python 2.6.5 (r265:79063, Jun 28 2010, 20:31:28) [GCC 4.4.3] on linux2 On Tue, Jul 27, 2010 at 9:51 AM, Matthieu Brucher < matthieu.bruc...@gmail.com> wrote: > Which version of Python are you actually using in this example? > > Matthieu > > 2010/7/27 Robe

[Numpy-discussion] Problem with importing numpy in Ubuntu

2010-07-27 Thread Robert Faryabi
I am new to numpy. Hopefully this is a correct forum to post my question. I have Ubuntu Luci system. I installed Python 2.6.5 and Python 3.0 as well as python-numpy using Ubuntu repository. When I import the numpy into python, I get the following error. >> import numpy Traceback (most recent call