<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/ma, branch main</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Merge branch 'main' into deprecate-find-common-type</title>
<updated>2023-05-13T17:02:49+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2023-05-13T17:02:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=5187067d7ad176ee3614beab2b99a524dd719aa8'/>
<id>5187067d7ad176ee3614beab2b99a524dd719aa8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TYP: Deprecate `np.round_`</title>
<updated>2023-05-08T14:10:08+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>bas.vanbeek@hotmail.com</email>
</author>
<published>2023-05-08T14:04:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ba4e0688ee265c782f4e1cffe06968b6e9cec5cf'/>
<id>ba4e0688ee265c782f4e1cffe06968b6e9cec5cf</id>
<content type='text'>
xref https://github.com/numpy/numpy/pull/23302
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xref https://github.com/numpy/numpy/pull/23302
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix masked array ravel order for A (and somewhat K)</title>
<updated>2023-04-28T12:41:00+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2023-04-28T12:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=e8920038ade22a8966fb977e77aa00a82142901b'/>
<id>e8920038ade22a8966fb977e77aa00a82142901b</id>
<content type='text'>
Swaps the order to the correct thing and thus

closes gh-23651
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Swaps the order to the correct thing and thus

closes gh-23651
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #23626 from seberg/issue-22912</title>
<updated>2023-04-21T22:18:38+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2023-04-21T22:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=41b0722d1eaf982adfc2ebc2a4a8ea1f6dfc65d8'/>
<id>41b0722d1eaf982adfc2ebc2a4a8ea1f6dfc65d8</id>
<content type='text'>
BUG: Fix masked array raveling when `order="A"` or `order="K"`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: Fix masked array raveling when `order="A"` or `order="K"`</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Ignore invalid and overflow warnings in masked setitem</title>
<updated>2023-04-21T10:23:23+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2023-04-21T10:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=0655cb9e24cff97642c70a98c5258bcbe7a6c3d3'/>
<id>0655cb9e24cff97642c70a98c5258bcbe7a6c3d3</id>
<content type='text'>
Giving a warning for invalid/overflow in settitem/casts is right
(IMO), however for masked arrays it can be surprising since the
warning is not useful if the value is invalid but also masked.

So, simply blanket ignore the relevant warnings in setitem via errstate.
(There may be some other cases like `.astype()` where it might be
helpful to MA users to just blanket opt-out of these new warnings.)

Closes gh-23000
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Giving a warning for invalid/overflow in settitem/casts is right
(IMO), however for masked arrays it can be surprising since the
warning is not useful if the value is invalid but also masked.

So, simply blanket ignore the relevant warnings in setitem via errstate.
(There may be some other cases like `.astype()` where it might be
helpful to MA users to just blanket opt-out of these new warnings.)

Closes gh-23000
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix masked array raveling when `order="A"` or `order="K"`</title>
<updated>2023-04-21T09:52:06+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2023-04-21T09:41:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=77a5aab54e10e063773e9aaf0e3730bf0cfefa9b'/>
<id>77a5aab54e10e063773e9aaf0e3730bf0cfefa9b</id>
<content type='text'>
This transitively fixes gh-22912.  I had alooked a bit into whether
it is worthwhile to preserve the mask order, but TBH, we seem to not
do so in so many places, that I don't think it really is worthwhile.

Applying `order="K"` or `order="A"` to the data and mask separately
is an big bug though.

Closes gh-22912
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This transitively fixes gh-22912.  I had alooked a bit into whether
it is worthwhile to preserve the mask order, but TBH, we seem to not
do so in so many places, that I don't think it really is worthwhile.

Applying `order="K"` or `order="A"` to the data and mask separately
is an big bug though.

Closes gh-22912
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add Examples section to np.ma.sort docstring (#23392)</title>
<updated>2023-04-13T19:38:48+00:00</updated>
<author>
<name>Somasree Majumder</name>
<email>bishnupadamajumder32@gmail.com</email>
</author>
<published>2023-04-13T19:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=f29320f25cc2bcbe52fc21d5a263b389dc17c921'/>
<id>f29320f25cc2bcbe52fc21d5a263b389dc17c921</id>
<content type='text'>

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add docstring examples for np.ma.right_shift (#23393)</title>
<updated>2023-04-10T18:28:54+00:00</updated>
<author>
<name>Somasree Majumder</name>
<email>bishnupadamajumder32@gmail.com</email>
</author>
<published>2023-04-10T18:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=e29a9a3453d2d944bcba9787c4c5d87223976fc8'/>
<id>e29a9a3453d2d944bcba9787c4c5d87223976fc8</id>
<content type='text'>
Co-authored-by: Charles Harris &lt;charlesr.harris@gmail.com&gt;
Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Charles Harris &lt;charlesr.harris@gmail.com&gt;
Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add example for np.ma.compressed. (#23426)</title>
<updated>2023-04-04T13:48:21+00:00</updated>
<author>
<name>Stefanie Molin</name>
<email>24376333+stefmolin@users.noreply.github.com</email>
</author>
<published>2023-04-04T13:48:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=7f1ce595cee3df09be57abde68e14688516dbe04'/>
<id>7f1ce595cee3df09be57abde68e14688516dbe04</id>
<content type='text'>
* DOC: Add example to np.ma.compressed().

* Update example.

* Update core.py</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DOC: Add example to np.ma.compressed().

* Update example.

* Update core.py</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: move `mask_rowcols` to `ma/extras.py`</title>
<updated>2023-03-25T01:49:09+00:00</updated>
<author>
<name>yuki</name>
<email>drsuaimqjgar@gmail.com</email>
</author>
<published>2023-03-25T00:49:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=13086bdf5e3cafb64c265f8de475b618a6a0252f'/>
<id>13086bdf5e3cafb64c265f8de475b618a6a0252f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
