<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib, 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>TYP: Relax the `genfromtxt` return dtype when the dtype is unspecified</title>
<updated>2023-05-16T12:28:41+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>bas.vanbeek@hotmail.com</email>
</author>
<published>2023-05-16T12:28:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=c231f8084dcaeb76452e915022b7f763fe5e8deb'/>
<id>c231f8084dcaeb76452e915022b7f763fe5e8deb</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 #23727 from F3eQnxN3RriK/doc-patch-2</title>
<updated>2023-05-14T20:33:36+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2023-05-14T20:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b8a43cb809edd754044af4aadfb9295915333b98'/>
<id>b8a43cb809edd754044af4aadfb9295915333b98</id>
<content type='text'>
DOC: Rewrite docstrings of `ogrid` and `mgrid`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DOC: Rewrite docstrings of `ogrid` and `mgrid`</pre>
</div>
</content>
</entry>
<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>BUG: properly handle tuple keys in NpZFile.__getitem__ (#23757)</title>
<updated>2023-05-13T06:05:07+00:00</updated>
<author>
<name>Nathan Goldbaum</name>
<email>nathan.goldbaum@gmail.com</email>
</author>
<published>2023-05-13T06:05:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=25908cacd19915bf3ddd659c28be28a41bd97a54'/>
<id>25908cacd19915bf3ddd659c28be28a41bd97a54</id>
<content type='text'>
* BUG: properly handle tuple keys in NpZFile.__getitem__

* TST: test tuple rendering specifically.

---------

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* BUG: properly handle tuple keys in NpZFile.__getitem__

* TST: test tuple rendering specifically.

---------

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Rewrite docstrings of `ogrid` and `mgrid`</title>
<updated>2023-05-06T01:31:08+00:00</updated>
<author>
<name>Yuki</name>
<email>drsuaimqjgar@gmail.com</email>
</author>
<published>2023-05-06T01:31:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=22b87653d8c0a809c9da1227b2afb8ad6c79d054'/>
<id>22b87653d8c0a809c9da1227b2afb8ad6c79d054</id>
<content type='text'>
Removed references to `nd_grid` instead of adding a document (gh-23612).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed references to `nd_grid` instead of adding a document (gh-23612).
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Reorganize the way windowing functions ensure float64 result</title>
<updated>2023-05-03T10:44:59+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2023-05-03T10:36:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=89486a335a478aac46be91b92e69267f9409b1be'/>
<id>89486a335a478aac46be91b92e69267f9409b1be</id>
<content type='text'>
This roughly changes things so that we ensure a float64 working
values up-front.  There is a tiny chance of precision changes if the
input was not float64 or error changes on bad input.

I don't think this should matter in practice, precision changes
(as far as I can tell) should happen rather the other way around.

Since float64 has 53bits mantissa, I think the arange should give
the correct result reliably for any sensible inputs.

There is an argument to be made that the windowing functions could
return float32 for float32 input, but I somewhat think this is OK
and users can be expected to just cast manually after the fact.

The result type is tested, but this ensures the tests pass also
when enabling weak promotion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This roughly changes things so that we ensure a float64 working
values up-front.  There is a tiny chance of precision changes if the
input was not float64 or error changes on bad input.

I don't think this should matter in practice, precision changes
(as far as I can tell) should happen rather the other way around.

Since float64 has 53bits mantissa, I think the arange should give
the correct result reliably for any sensible inputs.

There is an argument to be made that the windowing functions could
return float32 for float32 input, but I somewhat think this is OK
and users can be expected to just cast manually after the fact.

The result type is tested, but this ensures the tests pass also
when enabling weak promotion.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: add tests for numpy.quantile (#23129)</title>
<updated>2023-04-28T11:34:53+00:00</updated>
<author>
<name>Christian Lorentzen</name>
<email>lorentzen.ch@gmail.com</email>
</author>
<published>2023-04-28T11:34:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=30c047cdb2e0c0b233e5dc3b61c081ce1f6df3d3'/>
<id>30c047cdb2e0c0b233e5dc3b61c081ce1f6df3d3</id>
<content type='text'>
This PR adds additional tests for quantiles:

1. Identification equation $E[V(q, Y)] = 0$
2. Adding a constant $c &gt; 0$: $q(c + Y) = c + q(Y)$
3. Multiplying by a constant $c &gt; 0$: $q(c \cdot Y) = c \cdot q(y)$
4. Multiplying by $-1$: $q_{\alpha}(-Y) = -q_{1-\alpha}(Y)$

(Note by seberg as reviewer: These tests are fairly complex, but may be useful for future development.  But if they seem too complicated, they are probably not really vital and could be shortened or removed.)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds additional tests for quantiles:

1. Identification equation $E[V(q, Y)] = 0$
2. Adding a constant $c &gt; 0$: $q(c + Y) = c + q(Y)$
3. Multiplying by a constant $c &gt; 0$: $q(c \cdot Y) = c \cdot q(y)$
4. Multiplying by $-1$: $q_{\alpha}(-Y) = -q_{1-\alpha}(Y)$

(Note by seberg as reviewer: These tests are fairly complex, but may be useful for future development.  But if they seem too complicated, they are probably not really vital and could be shortened or removed.)</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #23529 from lorentzenchr/doc_quantile</title>
<updated>2023-04-28T08:09:53+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2023-04-28T08:09:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=de702b37336781b504d5b13d720cb4ebbbbc97db'/>
<id>de702b37336781b504d5b13d720cb4ebbbbc97db</id>
<content type='text'>
DOC: quantile parameter q is a probability</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DOC: quantile parameter q is a probability</pre>
</div>
</content>
</entry>
<entry>
<title>DOC use percentage for q in percentile</title>
<updated>2023-04-26T21:24:30+00:00</updated>
<author>
<name>Christian Lorentzen</name>
<email>lorentzen.ch@gmail.com</email>
</author>
<published>2023-04-26T21:24:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=1947415e4d4f4cb75989e194e052431068dbd772'/>
<id>1947415e4d4f4cb75989e194e052431068dbd772</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>EHN: add __contains__() to np.lib.npyio.NpzFile</title>
<updated>2023-04-25T13:47:48+00:00</updated>
<author>
<name>f380cedric</name>
<email>f380cedric@users.noreply.github.com</email>
</author>
<published>2023-04-25T13:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=abfadc93082e70c2fd47412226436da448e0478c'/>
<id>abfadc93082e70c2fd47412226436da448e0478c</id>
<content type='text'>
NpzFile inherits from collections.abc.Mapping,
which provides __contains__().
However, it calls __getitem__(),
which can be slow because it performs file decompression on success.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NpzFile inherits from collections.abc.Mapping,
which provides __contains__().
However, it calls __getitem__(),
which can be slow because it performs file decompression on success.
</pre>
</div>
</content>
</entry>
</feed>
