<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib, branch v1.20.0</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>TST: Don't fail check_large_zip on signal 9</title>
<updated>2021-01-30T18:03:11+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-01-30T18:03:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6c3cabd8227dec4e4488cfd91d701cc7e740e48a'/>
<id>6c3cabd8227dec4e4488cfd91d701cc7e740e48a</id>
<content type='text'>
If the test is terminated for lack of memory the intended zip file check
does not take place, raise xfail instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the test is terminated for lack of memory the intended zip file check
does not take place, raise xfail instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Minor touchups in npyio (#17796)</title>
<updated>2020-11-19T06:56:16+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2020-11-19T06:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b88b2c0c19851810d4ee07f03a7734b6e19dbdaa'/>
<id>b88b2c0c19851810d4ee07f03a7734b6e19dbdaa</id>
<content type='text'>
* Simplify logic for encoding kwarg in _decode_line.

* Remove unnecessary else branch from split_line.

* MAINT: rm else branch from loadtxt.

* MAINT: re-nest encoding parsing.

Co-Authored-By: mattip &lt;matti.picus@gmail.com&gt;

* condense return statement.

Co-authored-by: mattip &lt;matti.picus@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Simplify logic for encoding kwarg in _decode_line.

* Remove unnecessary else branch from split_line.

* MAINT: rm else branch from loadtxt.

* MAINT: re-nest encoding parsing.

Co-Authored-By: mattip &lt;matti.picus@gmail.com&gt;

* condense return statement.

Co-authored-by: mattip &lt;matti.picus@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>TST: avoid refcount semantics, speed up tests</title>
<updated>2020-11-11T11:19:36+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2020-11-11T11:19:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9bcff0a8670aff5e4aa7536e9502fd5bcca8ac80'/>
<id>9bcff0a8670aff5e4aa7536e9502fd5bcca8ac80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Do not override `sliding_window_view` module to `numpy`</title>
<updated>2020-11-06T14:58:30+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-11-06T14:58:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=599e413c5484c690fd3a4ee6f57bfe14606b4704'/>
<id>599e413c5484c690fd3a4ee6f57bfe14606b4704</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>API: Do not import sliding_window_view to main namespace</title>
<updated>2020-11-05T23:41:49+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-11-05T23:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7235d30f3da0a64bf9198db50b19669eb93e6ec6'/>
<id>7235d30f3da0a64bf9198db50b19669eb93e6ec6</id>
<content type='text'>
At least for now, lets not import it to the main namespace, since there is
no agreement that this is a good idea.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least for now, lets not import it to the main namespace, since there is
no agreement that this is a good idea.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Implement sliding window (gh-17394)</title>
<updated>2020-11-05T16:51:16+00:00</updated>
<author>
<name>Klaus Zimmermann</name>
<email>klaus.zimmermann@smhi.se</email>
</author>
<published>2020-11-05T16:51:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=43f80863ba2994a186293d86d516204ef38b0043'/>
<id>43f80863ba2994a186293d86d516204ef38b0043</id>
<content type='text'>
* implement sliding_window_view #7753
Test cases are shown in the issue page.

* Add Example Cases

* Add step_size and N-dim support

* Add shape and step_size check. Remove warning.

* Remove shape default
Add step_size default's description.

* Give proper parameter name 'step'

* fix a parameter description mistake

* implement test function for sliding_window_view()

* implement test function for sliding_window_view()

* Fix according to @eric-wieser comments

* Change arange to ogrid in Examples

* remove np.squeeze on return line

* Clarify document to avoid parameter confusion.

* add `writable` and more explanation in docs

* resolve a write conflit

* fixes according to @seberg review

* resolve write hazard

* remove outdated docs.

* change referring according to @mattip.
change 'writeable' to 'readonly' as @seberg suggest.
remove 'step' as @eric-wieser request

* fix test minor error

* DOC: Grammar fixes

* STY: Add missing line break required by PEP8

* + Change readonly parameter to writeable.
+ Update writeable description.
+ Fix a few parameter checks.
+ Other minor improvements.

* Move to new api as proposed by @eric-wieser

- Change api to follow suggestion by Eric Wieser in
  https://github.com/numpy/numpy/pull/10771#issuecomment-524715356
- Update docstring
- Add more tests

* Improve documentation

* Add sliding_window_view to documentation index

* Apply suggestions from code review

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Fix window shape check

* Add `sliding_window_view` to __all__

* Add tests for  error cases

* Add array_function dispatching

* Change dispatcher argument defaults to None

* Simplify array function dispatching

* Added "np." prefix to doctests

* Split tests

* Improved docstring

* Add release note

* Fix docstring formatting

* Fix doctest

* Remove namespacing in documentation indexing

* Improve docstring

* Improved docstring

* Simplified docstring

* Improve docstring to make pseudo code stand out

* Improve docstring

* Add simple application example

* Correct release note

* Improve link with as_strides

* Add note about performance

* Tidy up main doc string

* Make language on performance warning stronger

* Bugfix: pass subok and writeable to as_strided

* Add writeable test

* Add subok test

* Change subok test to use custom array subclass instead of unsupported MaskedArray

* Add version added information

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

Co-authored-by: Fanjin &lt;fjzeng@ucsd.edu&gt;
Co-authored-by: Fanjin Zeng &lt;Fnjn@users.noreply.github.com&gt;
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
Co-authored-by: fanjin &lt;fjzeng@outlook.com&gt;

Closes gh-7753</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* implement sliding_window_view #7753
Test cases are shown in the issue page.

* Add Example Cases

* Add step_size and N-dim support

* Add shape and step_size check. Remove warning.

* Remove shape default
Add step_size default's description.

* Give proper parameter name 'step'

* fix a parameter description mistake

* implement test function for sliding_window_view()

* implement test function for sliding_window_view()

* Fix according to @eric-wieser comments

* Change arange to ogrid in Examples

* remove np.squeeze on return line

* Clarify document to avoid parameter confusion.

* add `writable` and more explanation in docs

* resolve a write conflit

* fixes according to @seberg review

* resolve write hazard

* remove outdated docs.

* change referring according to @mattip.
change 'writeable' to 'readonly' as @seberg suggest.
remove 'step' as @eric-wieser request

* fix test minor error

* DOC: Grammar fixes

* STY: Add missing line break required by PEP8

* + Change readonly parameter to writeable.
+ Update writeable description.
+ Fix a few parameter checks.
+ Other minor improvements.

* Move to new api as proposed by @eric-wieser

- Change api to follow suggestion by Eric Wieser in
  https://github.com/numpy/numpy/pull/10771#issuecomment-524715356
- Update docstring
- Add more tests

* Improve documentation

* Add sliding_window_view to documentation index

* Apply suggestions from code review

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Fix window shape check

* Add `sliding_window_view` to __all__

* Add tests for  error cases

* Add array_function dispatching

* Change dispatcher argument defaults to None

* Simplify array function dispatching

* Added "np." prefix to doctests

* Split tests

* Improved docstring

* Add release note

* Fix docstring formatting

* Fix doctest

* Remove namespacing in documentation indexing

* Improve docstring

* Improved docstring

* Simplified docstring

* Improve docstring to make pseudo code stand out

* Improve docstring

* Add simple application example

* Correct release note

* Improve link with as_strides

* Add note about performance

* Tidy up main doc string

* Make language on performance warning stronger

* Bugfix: pass subok and writeable to as_strided

* Add writeable test

* Add subok test

* Change subok test to use custom array subclass instead of unsupported MaskedArray

* Add version added information

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

Co-authored-by: Fanjin &lt;fjzeng@ucsd.edu&gt;
Co-authored-by: Fanjin Zeng &lt;Fnjn@users.noreply.github.com&gt;
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
Co-authored-by: fanjin &lt;fjzeng@outlook.com&gt;

Closes gh-7753</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packages</title>
<updated>2020-11-03T14:08:38+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2020-11-03T14:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=99051b40de3b77c166a24250df3fd38689aa412e'/>
<id>99051b40de3b77c166a24250df3fd38689aa412e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Fix doctests</title>
<updated>2020-10-24T14:17:09+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-10-24T14:17:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f7eed258a49edc9d6a3c2500e8f09ba48f4a8e4b'/>
<id>f7eed258a49edc9d6a3c2500e8f09ba48f4a8e4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use integer literal instead of float</title>
<updated>2020-10-18T18:11:47+00:00</updated>
<author>
<name>Cameron Blocker</name>
<email>cameronjblocker@gmail.com</email>
</author>
<published>2020-10-18T18:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=10d28b6dc9cda2be1ca1236515a5936c3571207b'/>
<id>10d28b6dc9cda2be1ca1236515a5936c3571207b</id>
<content type='text'>
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Respect dtype of all-zero argument to poly1d</title>
<updated>2020-10-17T23:00:00+00:00</updated>
<author>
<name>Cameron Blocker</name>
<email>cameronjblocker@gmail.com</email>
</author>
<published>2020-10-17T23:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=56dedfc23f8f4ee0ce17c710b505254528566960'/>
<id>56dedfc23f8f4ee0ce17c710b505254528566960</id>
<content type='text'>
Fixes gh-16354. Previously np.poly1d(z).coeffs.dtype would always
be np.float64 for zero array z, regardless of z's dtype.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes gh-16354. Previously np.poly1d(z).coeffs.dtype would always
be np.float64 for zero array z, regardless of z's dtype.
</pre>
</div>
</content>
</entry>
</feed>
