<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/doc/source/reference, branch revert-7191-stack_documentation</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>MAINT: Fix typos in docs</title>
<updated>2016-01-25T08:33:14+00:00</updated>
<author>
<name>Dongjoon Hyun</name>
<email>dongjoon@apache.org</email>
</author>
<published>2016-01-25T08:33:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=df9df7f7e8340f9389543a4389022c07dbaf2e0d'/>
<id>df9df7f7e8340f9389543a4389022c07dbaf2e0d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6453 from shoyer/naive-datetime64</title>
<updated>2016-01-17T04:02:14+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2016-01-17T04:02:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=865c3e375a598e5a0f7d9e690eda4702de8658af'/>
<id>865c3e375a598e5a0f7d9e690eda4702de8658af</id>
<content type='text'>
API: Make datetime64 timezone naive</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
API: Make datetime64 timezone naive</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: add NumpyVersion to the docs, and mention it in version.py</title>
<updated>2016-01-16T11:18:27+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2015-12-29T20:58:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=105a498fcc987f9592b7a8a632f50544fe23ff31'/>
<id>105a498fcc987f9592b7a8a632f50544fe23ff31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>API: Make datetime64 timezone naive</title>
<updated>2016-01-16T00:18:46+00:00</updated>
<author>
<name>Stephan Hoyer</name>
<email>shoyer@climate.com</email>
</author>
<published>2016-01-15T07:47:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=426114879da49bf9a586b1991dcaf38ce594c4b6'/>
<id>426114879da49bf9a586b1991dcaf38ce594c4b6</id>
<content type='text'>
Fixes GH3290

With apologies to mwiebe, this rips out most of the time zone parsing from
the datetime64 type.

I think we mostly sorted out the API design in discussions last year, but
I'll be posting this to the mailing list shortly to get feedback.

Old behavior:

	# string parsing and printing defaults to your local timezone :(
    &gt;&gt;&gt; np.datetime64('2000-01-01T00')
    numpy.datetime64('2000-01-01T00:00-0800','h')

New behavior:

    # datetime64 is parsed and printed as timezone naive
    &gt;&gt;&gt; np.datetime64('2000-01-01T00')
    numpy.datetime64('2000-01-01T00','h')

    # you can still supply a timezone, but you get a deprecation warning
    &gt;&gt;&gt; np.datetime64('2000-01-01T00Z')
    DeprecationWarning: parsing timezone aware datetimes is deprecated; this
    will raise an error in the future
    numpy.datetime64('2000-01-01T00','h')
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes GH3290

With apologies to mwiebe, this rips out most of the time zone parsing from
the datetime64 type.

I think we mostly sorted out the API design in discussions last year, but
I'll be posting this to the mailing list shortly to get feedback.

Old behavior:

	# string parsing and printing defaults to your local timezone :(
    &gt;&gt;&gt; np.datetime64('2000-01-01T00')
    numpy.datetime64('2000-01-01T00:00-0800','h')

New behavior:

    # datetime64 is parsed and printed as timezone naive
    &gt;&gt;&gt; np.datetime64('2000-01-01T00')
    numpy.datetime64('2000-01-01T00','h')

    # you can still supply a timezone, but you get a deprecation warning
    &gt;&gt;&gt; np.datetime64('2000-01-01T00Z')
    DeprecationWarning: parsing timezone aware datetimes is deprecated; this
    will raise an error in the future
    numpy.datetime64('2000-01-01T00','h')
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Clean up/fix several references to the "future" 1.10 release</title>
<updated>2016-01-15T01:27:40+00:00</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2016-01-15T01:27:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c0f6c3744ff6a54d4e9be5a98aa2d4253f537f49'/>
<id>c0f6c3744ff6a54d4e9be5a98aa2d4253f537f49</id>
<content type='text'>
Fixes gh-7010
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes gh-7010
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: moveaxis function</title>
<updated>2016-01-09T23:56:13+00:00</updated>
<author>
<name>Stephan Hoyer</name>
<email>shoyer@climate.com</email>
</author>
<published>2015-11-05T04:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8ffde7f488eb583ed2a200702e85a6518c4f94ec'/>
<id>8ffde7f488eb583ed2a200702e85a6518c4f94ec</id>
<content type='text'>
Fixes GH2039

This function provides a much more intuitive interface than `np.rollaxis`,
which has a confusing behavior with the position of the `start` argument:
http://stackoverflow.com/questions/29891583/reason-why-numpy-rollaxis-is-so-confusing

It was independently suggested several times over the years after discussions
on the mailing list and GitHub (GH2039), but never made it into a pull request:
https://mail.scipy.org/pipermail/numpy-discussion/2010-September/052882.html

My version adds support for a sequence of axis arguments. I find this behavior
to be very useful. It is often more intuitive than supplying a list of
arguments to `transpose` and also nicely generalizes NumPy's existing axis
manipulation routines, e.g.,

    def transpose(a, order=None):
        if order is None:
            order = reversed(range(a.ndim))
        return moveaxes(a, order, range(a.ndim))

    def swapaxes(a, axis1, axis2):
        return moveaxes(a, [axis1, axis2], [axis2, axis1])

    def rollaxis(a, axis, start=0):
        if axis &lt; start:
            start -= 1
        return moveaxes(a, axis, start)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes GH2039

This function provides a much more intuitive interface than `np.rollaxis`,
which has a confusing behavior with the position of the `start` argument:
http://stackoverflow.com/questions/29891583/reason-why-numpy-rollaxis-is-so-confusing

It was independently suggested several times over the years after discussions
on the mailing list and GitHub (GH2039), but never made it into a pull request:
https://mail.scipy.org/pipermail/numpy-discussion/2010-September/052882.html

My version adds support for a sequence of axis arguments. I find this behavior
to be very useful. It is often more intuitive than supplying a list of
arguments to `transpose` and also nicely generalizes NumPy's existing axis
manipulation routines, e.g.,

    def transpose(a, order=None):
        if order is None:
            order = reversed(range(a.ndim))
        return moveaxes(a, order, range(a.ndim))

    def swapaxes(a, axis1, axis2):
        return moveaxes(a, [axis1, axis2], [axis2, axis1])

    def rollaxis(a, axis, start=0):
        if axis &lt; start:
            start -= 1
        return moveaxes(a, axis, start)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix carriage return inside commented python code</title>
<updated>2015-12-26T09:13:01+00:00</updated>
<author>
<name>Vincent Legoll</name>
<email>vincent.legoll@idgrilles.fr</email>
</author>
<published>2015-12-26T09:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f9976c82d33431693b1a1af30549cdb1d7bee4ad'/>
<id>f9976c82d33431693b1a1af30549cdb1d7bee4ad</id>
<content type='text'>
This looks more conventionnal</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This looks more conventionnal</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: fix method signatures in "array subclasses"</title>
<updated>2015-12-11T09:00:31+00:00</updated>
<author>
<name>Matthias Geier</name>
<email>Matthias.Geier@gmail.com</email>
</author>
<published>2015-11-01T08:27:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c5d8f5c9261a887349f46f4a12047a2d0b99d083'/>
<id>c5d8f5c9261a887349f46f4a12047a2d0b99d083</id>
<content type='text'>
* Change ".. function::" -&gt; ".. method::"
* Remove "self" argument
* Change "self" to "obj" in __array_finalize__
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Change ".. function::" -&gt; ".. method::"
* Remove "self" argument
* Change "self" to "obj" in __array_finalize__
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Typo in arrays.indexing.rst Issue#6670</title>
<updated>2015-11-12T15:45:41+00:00</updated>
<author>
<name>floatingpointstack</name>
<email>floatingpoint.development@gmail.com</email>
</author>
<published>2015-11-12T15:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=296b0b78fd381116b0e26c14ed5caaf1c07575a8'/>
<id>296b0b78fd381116b0e26c14ed5caaf1c07575a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: reorganize user guide a bit + import "tentative numpy tutorial" from wiki</title>
<updated>2015-10-25T14:20:51+00:00</updated>
<author>
<name>Pauli Virtanen</name>
<email>pav@iki.fi</email>
</author>
<published>2015-10-25T14:20:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3f6ffa8b7062c7023705361540b6efbe192289c7'/>
<id>3f6ffa8b7062c7023705361540b6efbe192289c7</id>
<content type='text'>
The user guide was missing a quick tutorial --- the basics.* stuff is
somewhat too complex already.

The "building numpy" instructions also should not be "introductory
material".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The user guide was missing a quick tutorial --- the basics.* stuff is
somewhat too complex already.

The "building numpy" instructions also should not be "introductory
material".
</pre>
</div>
</content>
</entry>
</feed>
