<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/doc, branch v1.10.0rc2</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>DOC: Fix docstring warnings in documetation generation.</title>
<updated>2015-07-02T05:40:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-02T05:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f5e9adbbf87903e42d03bb3dd5f86b70a89e930c'/>
<id>f5e9adbbf87903e42d03bb3dd5f86b70a89e930c</id>
<content type='text'>
Most of these fixes involve putting blank lines around

.. versionadded:: x.x.x

and

.. deprecated:: x.x.x

Some of the examples were also fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of these fixes involve putting blank lines around

.. versionadded:: x.x.x

and

.. deprecated:: x.x.x

Some of the examples were also fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Update docs.</title>
<updated>2015-06-21T21:44:25+00:00</updated>
<author>
<name>Gabor Kovacs</name>
<email>kgabor79@gmail.com</email>
</author>
<published>2014-08-23T16:50:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4e5545f0bcc654fb0c6752dcf72120e6e7340d28'/>
<id>4e5545f0bcc654fb0c6752dcf72120e6e7340d28</id>
<content type='text'>
Update docs for boolean array indexing and nonzero order.
Add links to row-major and column-major terms where they appear.

Closes #3177
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update docs for boolean array indexing and nonzero order.
Add links to row-major and column-major terms where they appear.

Closes #3177
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: automatically convert recarray dtype to np.record</title>
<updated>2015-06-19T20:43:31+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2015-06-05T16:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a93b86217e9ff8cc1060aaf362cd682b518cfb7b'/>
<id>a93b86217e9ff8cc1060aaf362cd682b518cfb7b</id>
<content type='text'>
Viewing an ndarray as a np.recarray now automatically converts
the dtype to np.record.

This commit also fixes assignment to MaskedArray's dtype attribute,
fixes the repr of recarrays with non-structured dtype, and removes
recarray.view so that viewing a recarray as a non-structured dtype
no longer converts to ndarray type.

Fixes #3581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Viewing an ndarray as a np.recarray now automatically converts
the dtype to np.record.

This commit also fixes assignment to MaskedArray's dtype attribute,
fixes the repr of recarrays with non-structured dtype, and removes
recarray.view so that viewing a recarray as a non-structured dtype
no longer converts to ndarray type.

Fixes #3581
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Fix typo and some grammar</title>
<updated>2015-05-28T01:19:09+00:00</updated>
<author>
<name>Vraj Mohan</name>
<email>r.vrajmohan@gmail.com</email>
</author>
<published>2015-05-28T01:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=eb4c08d6a4918b223009245027ad92f37c4e0655'/>
<id>eb4c08d6a4918b223009245027ad92f37c4e0655</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: recarray __repr__ gives inaccurate representation</title>
<updated>2015-01-30T16:25:39+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2015-01-29T17:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=73a74e9e9515ad76d652e998fc1e88074e8cd820'/>
<id>73a74e9e9515ad76d652e998fc1e88074e8cd820</id>
<content type='text'>
In https://github.com/numpy/numpy/pull/5483, I solved the problem that a
"recarray" and a "record array" (nomenclature defined in
https://github.com/numpy/numpy/pull/5482) looked identical by making
sure that a type's subclass was listed in the repr. However, recarrays
are still represented using the function 'rec.array' even though this
function technically creates record arrays, not recarrays.

So I have updated recarray.__repr__.

Setup:

    &gt;&gt;&gt; a = np.array([(1,'ABC'), (2, "DEF")], dtype=[('foo', int), ('bar', 'S4')])
    &gt;&gt;&gt; recordarr = np.rec.array(a)
    &gt;&gt;&gt; recarr = a.view(np.recarray)

Behavior after https://github.com/numpy/numpy/pull/5483:

    &gt;&gt;&gt; recordarr
    rec.array([(1, 'ABC'), (2, 'DEF')],
          dtype=(numpy.record, [('foo', '&lt;i8'), ('bar', 'S4')]))
    &gt;&gt;&gt; recarr
    rec.array([(1, 'ABC'), (2, 'DEF')],
          dtype=[('foo', '&lt;i8'), ('bar', 'S4')])

New Behavior:

    &gt;&gt;&gt; recordarr
    rec.array([(1, 'ABC'), (2, 'DEF')],
          dtype=[('foo', '&lt;i8'), ('bar', '|S4')])
    &gt;&gt;&gt; recarr
    array([(1, 'ABC'), (2, 'DEF')],
          dtype=[('foo', '&lt;i8'), ('bar', 'S4')]).view(numpy.recarray)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In https://github.com/numpy/numpy/pull/5483, I solved the problem that a
"recarray" and a "record array" (nomenclature defined in
https://github.com/numpy/numpy/pull/5482) looked identical by making
sure that a type's subclass was listed in the repr. However, recarrays
are still represented using the function 'rec.array' even though this
function technically creates record arrays, not recarrays.

So I have updated recarray.__repr__.

Setup:

    &gt;&gt;&gt; a = np.array([(1,'ABC'), (2, "DEF")], dtype=[('foo', int), ('bar', 'S4')])
    &gt;&gt;&gt; recordarr = np.rec.array(a)
    &gt;&gt;&gt; recarr = a.view(np.recarray)

Behavior after https://github.com/numpy/numpy/pull/5483:

    &gt;&gt;&gt; recordarr
    rec.array([(1, 'ABC'), (2, 'DEF')],
          dtype=(numpy.record, [('foo', '&lt;i8'), ('bar', 'S4')]))
    &gt;&gt;&gt; recarr
    rec.array([(1, 'ABC'), (2, 'DEF')],
          dtype=[('foo', '&lt;i8'), ('bar', 'S4')])

New Behavior:

    &gt;&gt;&gt; recordarr
    rec.array([(1, 'ABC'), (2, 'DEF')],
          dtype=[('foo', '&lt;i8'), ('bar', '|S4')])
    &gt;&gt;&gt; recarr
    array([(1, 'ABC'), (2, 'DEF')],
          dtype=[('foo', '&lt;i8'), ('bar', 'S4')]).view(numpy.recarray)
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix recarray getattr and getindex return types</title>
<updated>2015-01-27T01:18:05+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2015-01-25T23:52:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3cd9e7339c37880cff0a2f381e881e0e612c4948'/>
<id>3cd9e7339c37880cff0a2f381e881e0e612c4948</id>
<content type='text'>
This commit makes changes to `__getitem__` and `__getattr__` of recarrays:

 1. recarrays no longer convert string ndarrays to chararrays, and
    instead simply return ndarrays of string type.
 2. attribute access and index access of fields now behaves identically
 3. dtype.type is now inherited when fields of structured type are accessed

Demonstration:

    &gt;&gt;&gt; rec = np.rec.array([('abc ', (1,1), 1), ('abc', (2,3), 1)],
    ...       dtype=[('foo', 'S4'), ('bar', [('A', int), ('B', int)]), ('baz', int)])

Old Behavior:

    &gt;&gt;&gt; type(rec.foo), type(rec['foo'])
    (numpy.core.defchararray.chararray, numpy.recarray)
    &gt;&gt;&gt; type(rec.bar), type(rec['bar']), rec.bar.dtype.type
    (numpy.recarray, numpy.recarray, numpy.void)
    &gt;&gt;&gt; type(rec.baz), type(rec['baz'])
    (numpy.ndarray, numpy.ndarray)

New behavior:

    &gt;&gt;&gt; type(rec.foo), type(rec['foo'])
    (numpy.ndarray, numpy.ndarray)
    &gt;&gt;&gt; type(rec.bar), type(rec['bar']), rec.bar.dtype.type
    (numpy.recarray, numpy.recarray, numpy.record)
    &gt;&gt;&gt; type(rec.baz), type(rec['baz'])
    (numpy.ndarray, numpy.ndarray)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes changes to `__getitem__` and `__getattr__` of recarrays:

 1. recarrays no longer convert string ndarrays to chararrays, and
    instead simply return ndarrays of string type.
 2. attribute access and index access of fields now behaves identically
 3. dtype.type is now inherited when fields of structured type are accessed

Demonstration:

    &gt;&gt;&gt; rec = np.rec.array([('abc ', (1,1), 1), ('abc', (2,3), 1)],
    ...       dtype=[('foo', 'S4'), ('bar', [('A', int), ('B', int)]), ('baz', int)])

Old Behavior:

    &gt;&gt;&gt; type(rec.foo), type(rec['foo'])
    (numpy.core.defchararray.chararray, numpy.recarray)
    &gt;&gt;&gt; type(rec.bar), type(rec['bar']), rec.bar.dtype.type
    (numpy.recarray, numpy.recarray, numpy.void)
    &gt;&gt;&gt; type(rec.baz), type(rec['baz'])
    (numpy.ndarray, numpy.ndarray)

New behavior:

    &gt;&gt;&gt; type(rec.foo), type(rec['foo'])
    (numpy.ndarray, numpy.ndarray)
    &gt;&gt;&gt; type(rec.bar), type(rec['bar']), rec.bar.dtype.type
    (numpy.recarray, numpy.recarray, numpy.record)
    &gt;&gt;&gt; type(rec.baz), type(rec['baz'])
    (numpy.ndarray, numpy.ndarray)
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: improve record/structured array nomenclature &amp; guide</title>
<updated>2015-01-22T22:36:43+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2015-01-17T04:53:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1bd0b4e8f176cd80e81b5f50832db5f8ba1ee1e9'/>
<id>1bd0b4e8f176cd80e81b5f50832db5f8ba1ee1e9</id>
<content type='text'>
This update adds a section better describing record arrays in the user
guide (numpy/doc/structured_arrays.py).

It also corrects nomenclature, such that "structured array" refers to
ndarrays with structured dtype, "record array" refers to modified
ndarrays as created by np.rec.array, and "recarray" refers to ndarrays
viewed as np.recarray. See the note at the end of the structured
array user guide.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This update adds a section better describing record arrays in the user
guide (numpy/doc/structured_arrays.py).

It also corrects nomenclature, such that "structured array" refers to
ndarrays with structured dtype, "record array" refers to modified
ndarrays as created by np.rec.array, and "recarray" refers to ndarrays
viewed as np.recarray. See the note at the end of the structured
array user guide.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC note the effect of #1866 in byteorder discussion</title>
<updated>2014-10-22T00:33:33+00:00</updated>
<author>
<name>Joel Nothman</name>
<email>joel.nothman@gmail.com</email>
</author>
<published>2014-10-22T00:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f107a98616ba9402ef8956636ef1f9e2cf1a7f80'/>
<id>f107a98616ba9402ef8956636ef1f9e2cf1a7f80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: clean up docs in userguide for interfacing to compiled code a bit.</title>
<updated>2014-04-21T18:22:57+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@googlemail.com</email>
</author>
<published>2014-04-21T18:17:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d7f761650aeca14772d3eeb11dcac4788e53e0a3'/>
<id>d7f761650aeca14772d3eeb11dcac4788e53e0a3</id>
<content type='text'>
Add a link to f2py docs, which was missing.

[ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a link to f2py docs, which was missing.

[ci skip]
</pre>
</div>
</content>
</entry>
<entry>
<title>Update link to EricsBroadcastingDoc</title>
<updated>2014-03-05T19:28:06+00:00</updated>
<author>
<name>Roman Nekhoroshev</name>
<email>terafloo@gmail.com</email>
</author>
<published>2014-03-05T19:28:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9b68fe73947942406dec072d9412310883cdf67c'/>
<id>9b68fe73947942406dec072d9412310883cdf67c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
