<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core/fromnumeric.py, branch v1.17.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>Merge pull request #13708 from eric-wieser/deprecate-nonzero</title>
<updated>2019-06-13T10:44:46+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-06-13T10:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=02c8e80d5f65c7870f71c989c425d1bad24bd312'/>
<id>02c8e80d5f65c7870f71c989c425d1bad24bd312</id>
<content type='text'>
DEP: Deprecate nonzero(0d) in favor of calling atleast_1d explicitly</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DEP: Deprecate nonzero(0d) in favor of calling atleast_1d explicitly</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Mention and try to explain pairwise summation in sum (#13737)</title>
<updated>2019-06-11T05:55:45+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-06-11T05:55:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=871ed9b188da73bfed6386530e579e3287e9b3ed'/>
<id>871ed9b188da73bfed6386530e579e3287e9b3ed</id>
<content type='text'>
* DOC: Mention and try to explain pairwise summation in sum

Note that this behaviour is of course inherited into `np.add.reduce` and
many other reductions such as `mean` or users of this reduction, such
as `cov`. This is ignored here.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DOC: Mention and try to explain pairwise summation in sum

Note that this behaviour is of course inherited into `np.add.reduce` and
many other reductions such as `mean` or users of this reduction, such
as `cov`. This is ignored here.</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: emphasize that nonzero is a bad idea on 0d arrays</title>
<updated>2019-06-09T02:41:27+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-06-07T08:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dcf9d9628eb50d275a6d42a6ed2cfdd25949ef57'/>
<id>dcf9d9628eb50d275a6d42a6ed2cfdd25949ef57</id>
<content type='text'>
Also indicate that the current behavior in this case is deprecated.

This also removes the advice to use `a[nonzero(a)]` or `transpose(nonzero(a))`, for which there are better spellings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also indicate that the current behavior in this case is deprecated.

This also removes the advice to use `a[nonzero(a)]` or `transpose(nonzero(a))`, for which there are better spellings.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add note to ``nonzero`` docstring. (#13551)</title>
<updated>2019-05-29T05:13:35+00:00</updated>
<author>
<name>Abhinav Sagar</name>
<email>40603139+abhinavsagar@users.noreply.github.com</email>
</author>
<published>2019-05-29T05:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1f427353554e6403f87c01f81b6e414427faa5f0'/>
<id>1f427353554e6403f87c01f81b6e414427faa5f0</id>
<content type='text'>
* Added NOTE in numpy\core\fromnumeric.py</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added NOTE in numpy\core\fromnumeric.py</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13574 from belm0/patch-1</title>
<updated>2019-05-22T13:15:57+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-05-22T13:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=2895dab41944b2f28c130533b91ed4e55fd54b58'/>
<id>2895dab41944b2f28c130533b91ed4e55fd54b58</id>
<content type='text'>
DOC: remove performance claim from searchsorted()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DOC: remove performance claim from searchsorted()</pre>
</div>
</content>
</entry>
<entry>
<title>change wording</title>
<updated>2019-05-22T12:21:43+00:00</updated>
<author>
<name>John Belmonte</name>
<email>john@neggie.net</email>
</author>
<published>2019-05-22T12:21:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=966ccea02bd3f9f8fa7fffb8c2903ff2daf83b58'/>
<id>966ccea02bd3f9f8fa7fffb8c2903ff2daf83b58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Increment stacklevel for warnings to account for NEP-18 overrides (#13589)</title>
<updated>2019-05-20T16:37:18+00:00</updated>
<author>
<name>Stephan Hoyer</name>
<email>shoyer@gmail.com</email>
</author>
<published>2019-05-20T16:37:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f9c1502e7ace9b48f0256a77c560aae43763a1f2'/>
<id>f9c1502e7ace9b48f0256a77c560aae43763a1f2</id>
<content type='text'>
* Increment stacklevel for warnings to account for NEP-18 overrides

For NumPy functions that make use of `__array_function__`, the appropriate the
stack level for warnings should generally be increased by 1 to account for
the override function defined in numpy.core.overrides.

Fixes GH-13329

* Update numpy/lib/type_check.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Increment stacklevel for warnings to account for NEP-18 overrides

For NumPy functions that make use of `__array_function__`, the appropriate the
stack level for warnings should generally be increased by 1 to account for
the override function defined in numpy.core.overrides.

Fixes GH-13329

* Update numpy/lib/type_check.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>searchsorted: remove performance claim</title>
<updated>2019-05-16T02:37:53+00:00</updated>
<author>
<name>John Belmonte</name>
<email>john@neggie.net</email>
</author>
<published>2019-05-16T02:37:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0ca5969ae7dcd1770f117d8c8782b7c4ec4e5ca4'/>
<id>0ca5969ae7dcd1770f117d8c8782b7c4ec4e5ca4</id>
<content type='text'>
Fixes #13566</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #13566</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: address reviewer comments</title>
<updated>2019-05-14T20:52:36+00:00</updated>
<author>
<name>Tyler Reddy</name>
<email>tyler.je.reddy@gmail.com</email>
</author>
<published>2019-03-05T03:27:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6492f632a92439c82c74efa6753e10ce9360c6ba'/>
<id>6492f632a92439c82c74efa6753e10ce9360c6ba</id>
<content type='text'>
* Unit test for object clip issue

* parametrized test_simple_int32_inout() to
additionally handle scenario where "unsafe"
casting is explicitly passed through, as
requested by reviewer

* add a requested comment related to possibility
of future nan check optimization for `@name@_clip`

* add a unit test to cover the case where np.clip()
is called with None for both max and min

* add a unit test for the case where out is None
and casting is specified as an invalid value, to flush
through code path in TestClip.fastclip

* add unit test + doc update for expected behavior
when amin &gt; amax

* add unit test + patch for bug in npy_ObjectClip; its
operations and operands were wrong; the unit test case
is based on a scenario probed by the hypothesis library

* add unit test for error in timedelta64 MAX
function for clip handling

* add unit test for a pathological case where np.ones(10)
is clipped with amin=1, amax=0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Unit test for object clip issue

* parametrized test_simple_int32_inout() to
additionally handle scenario where "unsafe"
casting is explicitly passed through, as
requested by reviewer

* add a requested comment related to possibility
of future nan check optimization for `@name@_clip`

* add a unit test to cover the case where np.clip()
is called with None for both max and min

* add a unit test for the case where out is None
and casting is specified as an invalid value, to flush
through code path in TestClip.fastclip

* add unit test + doc update for expected behavior
when amin &gt; amax

* add unit test + patch for bug in npy_ObjectClip; its
operations and operands were wrong; the unit test case
is based on a scenario probed by the hypothesis library

* add unit test for error in timedelta64 MAX
function for clip handling

* add unit test for a pathological case where np.ones(10)
is clipped with amin=1, amax=0
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH/DEP: Use a ufunc under the hood for ndarray.clip</title>
<updated>2019-05-14T20:52:35+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-12-09T09:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dfe7b9db2350505903ba19867bf27dabda2bff71'/>
<id>dfe7b9db2350505903ba19867bf27dabda2bff71</id>
<content type='text'>
This includes:
* The addition of 3-input PyObject inner loop
* The removal of `-&gt;f-&gt;fastclip` for builtin types, which now use ufuncs instead
* A deprecation in `PyArray_Clip` for third-party types that still use `-&gt;f-&gt;fastclip`
* A deprecation of the unusual casting behavior of `clip`
* A deprecation of the broken `nan`-behavior of `clip`, which was previously dependent on dimensionality and byte-order.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes:
* The addition of 3-input PyObject inner loop
* The removal of `-&gt;f-&gt;fastclip` for builtin types, which now use ufuncs instead
* A deprecation in `PyArray_Clip` for third-party types that still use `-&gt;f-&gt;fastclip`
* A deprecation of the unusual casting behavior of `clip`
* A deprecation of the broken `nan`-behavior of `clip`, which was previously dependent on dimensionality and byte-order.
</pre>
</div>
</content>
</entry>
</feed>
