<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib, branch build_test</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>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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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>
<entry>
<title>ENH: add function to get broadcast shape from a given set of shapes. (#17535)</title>
<updated>2020-10-17T13:58:33+00:00</updated>
<author>
<name>madhulikajc</name>
<email>53166646+madhulikajc@users.noreply.github.com</email>
</author>
<published>2020-10-17T13:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=7b0a764fee6e1614f3249e9082d8c4acf1dc62d5'/>
<id>7b0a764fee6e1614f3249e9082d8c4acf1dc62d5</id>
<content type='text'>
* ENH: add function to get broadcast shape from a given set of shapes.

Add new function numpy.broadcast_shape which takes tuples
for the shapes to be broadcast against each other.
Return the broadcasted shape as a tuple.
See #17217

* Perform array allocations of size 0 for provided shape tuples

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Test for int as input shape

Also update docstring to include both ints and tuples of ints as input

* Remove unnecessary array_function_dispatch

* Add missing set_module

* Add release notes. Add versionadded to docstring.

Also fix up docstring details.

* follow convention for trailing comma

Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Change name to broadcast_shapes. Also add test case, and type hint.

* follow convention

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Update docstring

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Add reference to numpy docs on broadcasting to docstring

Also move versionadded

* Fix spelling

Co-authored-by: Warren Weckesser &lt;warren.weckesser@gmail.com&gt;

* Add broadcast_shapes to reference docs and add See Also sections

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;
Co-authored-by: Warren Weckesser &lt;warren.weckesser@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ENH: add function to get broadcast shape from a given set of shapes.

Add new function numpy.broadcast_shape which takes tuples
for the shapes to be broadcast against each other.
Return the broadcasted shape as a tuple.
See #17217

* Perform array allocations of size 0 for provided shape tuples

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Test for int as input shape

Also update docstring to include both ints and tuples of ints as input

* Remove unnecessary array_function_dispatch

* Add missing set_module

* Add release notes. Add versionadded to docstring.

Also fix up docstring details.

* follow convention for trailing comma

Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Change name to broadcast_shapes. Also add test case, and type hint.

* follow convention

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Update docstring

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;

* Add reference to numpy docs on broadcasting to docstring

Also move versionadded

* Fix spelling

Co-authored-by: Warren Weckesser &lt;warren.weckesser@gmail.com&gt;

* Add broadcast_shapes to reference docs and add See Also sections

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;
Co-authored-by: Warren Weckesser &lt;warren.weckesser@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Do not emit empty Methods heading in np.info (#17498)</title>
<updated>2020-10-10T09:47:20+00:00</updated>
<author>
<name>Steve Joachim</name>
<email>sgjoachim@gmail.com</email>
</author>
<published>2020-10-10T09:47:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=aeb23741b1186e6ae525c4dd7f46ce9e1378e670'/>
<id>aeb23741b1186e6ae525c4dd7f46ce9e1378e670</id>
<content type='text'>
Fixes the incompatible type comparison found in #17490.

This also corrects the logic to not print the heading when only private/magic methods are present.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes the incompatible type comparison found in #17490.

This also corrects the logic to not print the heading when only private/magic methods are present.</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: add dtype option to cov and corrcoef (#17456)</title>
<updated>2020-10-09T19:35:47+00:00</updated>
<author>
<name>Lisa Schwetlick</name>
<email>mail@lisaschwetlick.de</email>
</author>
<published>2020-10-09T19:35:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=156cd054e007b05d4ac4829e10a369d19dd2b0b1'/>
<id>156cd054e007b05d4ac4829e10a369d19dd2b0b1</id>
<content type='text'>
Adds a keyword-only dtype parameter to correlate and coerrcoef to allow
user to specify the dtype of the output.

Co-authored-by: Eric Wieser &lt;wieser.eric@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>
Adds a keyword-only dtype parameter to correlate and coerrcoef to allow
user to specify the dtype of the output.

Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
</feed>
