Re: [Numpy-discussion] Add `nrows` to `genfromtxt`

2014-11-02 Thread Warren Weckesser
On 11/2/14, Alexander Belopolsky wrote: > On Sun, Nov 2, 2014 at 2:32 PM, Warren Weckesser > > wrote: > >> >>> Still, the case of dtype=None, name=None is problematic. Suppose I >>> want >>> genfromtxt() to detect the column names from the 1-st row and data >>> types >>> from the 3-rd. How wou

Re: [Numpy-discussion] Add `nrows` to `genfromtxt`

2014-11-02 Thread Alexander Belopolsky
On Sun, Nov 2, 2014 at 2:32 PM, Warren Weckesser wrote: > >> Still, the case of dtype=None, name=None is problematic. Suppose I want >> genfromtxt() to detect the column names from the 1-st row and data types >> from the 3-rd. How would you do that? >> >> > > This may sound like a cop out, bu

Re: [Numpy-discussion] Add `nrows` to `genfromtxt`

2014-11-02 Thread Warren Weckesser
On Sun, Nov 2, 2014 at 2:18 PM, Alexander Belopolsky wrote: > > On Sun, Nov 2, 2014 at 1:56 PM, Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> Or you could just call genfromtxt() once with `max_rows=1` to skip a >> row. (I'm assuming that the first argument to genfromtxt is the ope

Re: [Numpy-discussion] Add `nrows` to `genfromtxt`

2014-11-02 Thread Alexander Belopolsky
Sorry, I meant names=True, not name=None. On Sun, Nov 2, 2014 at 2:18 PM, Alexander Belopolsky wrote: > > On Sun, Nov 2, 2014 at 1:56 PM, Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> Or you could just call genfromtxt() once with `max_rows=1` to skip a >> row. (I'm assuming that

Re: [Numpy-discussion] Add `nrows` to `genfromtxt`

2014-11-02 Thread Alexander Belopolsky
On Sun, Nov 2, 2014 at 1:56 PM, Warren Weckesser wrote: > Or you could just call genfromtxt() once with `max_rows=1` to skip a row. > (I'm assuming that the first argument to genfromtxt is the open file > object--or some other iterator--and not the filename.) That's hackish. If I have to resor

Re: [Numpy-discussion] Add `nrows` to `genfromtxt`

2014-11-02 Thread Warren Weckesser
On Sat, Nov 1, 2014 at 4:41 PM, Alexander Belopolsky wrote: > > On Sat, Nov 1, 2014 at 3:15 PM, Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> Is there wider interest in such an argument to `genfromtxt`? For my >> use-cases, `max_rows` is sufficient. I can't recall ever needing th

[Numpy-discussion] Guidance to start contribution to Numpy

2014-11-02 Thread Maniteja Nandana
Hi everyone, I'm a third year undergraduate student in Computer Science. I have worked in Python libraries for past two years and am interested in getting some open source experience in Numpy and it would be great if anyone could suggest some bugs or issues that are suitable for a beginner to try w

[Numpy-discussion] ANN: NumPy 1.9.1 bugfix release

2014-11-02 Thread Julian Taylor
Hello, We am pleased to announce the release of NumPy 1.9.1, a bugfix only release for the 1.9.x series. https://sourceforge.net/projects/numpy/files/NumPy/1.9.1/ The upgrade is recommended for all users of the 1.9.x series. Following issues have been fixed: * gh-5184: restore linear edge behavio