<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core/shape_base.py, branch meson</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>DOC: Clarify relationship between row_stack and vstack.</title>
<updated>2022-11-14T18:57:43+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2022-11-14T18:57:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=06e413f6a3041ce484901e3a33389028362cd012'/>
<id>06e413f6a3041ce484901e3a33389028362cd012</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: adding casting option to numpy.stack. (#21627)</title>
<updated>2022-06-08T22:07:58+00:00</updated>
<author>
<name>Jhonatan Cunha</name>
<email>jhonatancunha@alunos.utfpr.edu.br</email>
</author>
<published>2022-06-08T22:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=126046f84449fffeb0c75ae88657ce6b90236eee'/>
<id>126046f84449fffeb0c75ae88657ce6b90236eee</id>
<content type='text'>
np.concatenate and np.stack are similar methods, but only np.concatenate has the casting option.

This PR puts the casting option into the np.stack method to control what kind of data casting may occur

Closes gh-20959

* ENH: adding casting option to numpy.stack.

See #20959

* ENH: adding dtype option to numpy.stack.

See #20959

* REV: removing auto-generated file loops_modulo.dispatch.c

See numpy#20959

* REV: removing auto-generated file loops_modulo.dispatch.c

See numpy#20959

* REV: removing inserted newlines

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: inserting versionadded info in dtype and casting parameters.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* TST: writing tests to stack method with dtype and casting options

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: adding upcoming_change file for new options casting and dtype in method stack.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* REV: reverting lint errors.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: inserting hstack and vstack methods in upcoming changes

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* ENH: adding dtype and casting keyword arguments to numpy.vstack and numpy.hstack.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* TST: writing tests to vstack and hstack methods with dtype and casting keyword arguments.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* REV: reverting the 'out' option type in stack method.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* REV: Reverting out type changes in overload of shape_base.pyi file.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: jhonatancunha &lt;jhonatancunha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: correcting some english erros in upcoming_changes file.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

Co-authored-by: JessePires &lt;jessepires2010@gmail.com&gt;
Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
np.concatenate and np.stack are similar methods, but only np.concatenate has the casting option.

This PR puts the casting option into the np.stack method to control what kind of data casting may occur

Closes gh-20959

* ENH: adding casting option to numpy.stack.

See #20959

* ENH: adding dtype option to numpy.stack.

See #20959

* REV: removing auto-generated file loops_modulo.dispatch.c

See numpy#20959

* REV: removing auto-generated file loops_modulo.dispatch.c

See numpy#20959

* REV: removing inserted newlines

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: inserting versionadded info in dtype and casting parameters.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* TST: writing tests to stack method with dtype and casting options

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: adding upcoming_change file for new options casting and dtype in method stack.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* REV: reverting lint errors.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: inserting hstack and vstack methods in upcoming changes

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* ENH: adding dtype and casting keyword arguments to numpy.vstack and numpy.hstack.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* TST: writing tests to vstack and hstack methods with dtype and casting keyword arguments.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* REV: reverting the 'out' option type in stack method.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* REV: Reverting out type changes in overload of shape_base.pyi file.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: jhonatancunha &lt;jhonatancunha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

* DOC: correcting some english erros in upcoming_changes file.

See numpy#20959

Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;

Co-authored-by: JessePires &lt;jessepires2010@gmail.com&gt;
Co-authored-by: alescrocaro &lt;alescrocaro@gmail.com&gt;
Co-authored-by: JessePires &lt;jesserocha@alunos.utfpr.edu.br&gt;
Co-authored-by: patriarka &lt;matheussantanapatriarca2019@outlook.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: improper doc syntax (markdown and imbalanced ticks). (#20944)</title>
<updated>2022-01-30T19:49:47+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2022-01-30T19:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=bc6a6084f6e49bd78c12508131395304a63cc6ca'/>
<id>bc6a6084f6e49bd78c12508131395304a63cc6ca</id>
<content type='text'>
Here are two modifications:

The first one is the inclusion of markdown fence blocks in the middle of
RST. While this is not really a problem for current documentation as
this is a private function, it still makes other RST parser choke on
this.

In particular this is seen as a tile as it is a text line followed by
a line of only backticks, and that makes my new project to show better
docstrings in Jupyter fails.

I can locally exclude this function, but while not fix it to show good
examples ?

Second, while grepping for triple backticks I found that there are a
stray one in another place.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here are two modifications:

The first one is the inclusion of markdown fence blocks in the middle of
RST. While this is not really a problem for current documentation as
this is a private function, it still makes other RST parser choke on
this.

In particular this is seen as a tile as it is a text line followed by
a line of only backticks, and that makes my new project to show better
docstrings in Jupyter fails.

I can locally exclude this function, but while not fix it to show good
examples ?

Second, while grepping for triple backticks I found that there are a
stray one in another place.</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Use new argument parsing for array creation functions</title>
<updated>2021-03-18T20:37:20+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-12-06T04:38:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f531110689a646f574ad1529d78b6047cf397f3e'/>
<id>f531110689a646f574ad1529d78b6047cf397f3e</id>
<content type='text'>
The array creation functions have the most to gain:

1. np.asarray is 4 times faster and commonly used.
2. Other functions are wrapped using __array_function__ in Python
   making it more difficult

This commit (unfortunatly) has to do a few things:

* Modify __array_function__ C-side dispatching to accomodate
  the fastcall argument convention.
* Move asarray, etc. to C after removing all "fast paths" from
  np.array (simplifying the code)
* Fixup imports, since asarray was imported directly in a few places
* Replace some places where `np.array` was probably used for speed
  instead of np.asarray or similar. (or by accident in 1 or 2 places)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The array creation functions have the most to gain:

1. np.asarray is 4 times faster and commonly used.
2. Other functions are wrapped using __array_function__ in Python
   making it more difficult

This commit (unfortunatly) has to do a few things:

* Modify __array_function__ C-side dispatching to accomodate
  the fastcall argument convention.
* Move asarray, etc. to C after removing all "fast paths" from
  np.array (simplifying the code)
* Fixup imports, since asarray was imported directly in a few places
* Replace some places where `np.array` was probably used for speed
  instead of np.asarray or similar. (or by accident in 1 or 2 places)
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Misc numpydoc format fixes</title>
<updated>2021-01-28T01:52:30+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2021-01-28T01:43:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f305d5962614e98eea5d10a2140eee7e16ab9aca'/>
<id>f305d5962614e98eea5d10a2140eee7e16ab9aca</id>
<content type='text'>
Via prototype docstring autoreformatter; and cherry-picked to mostly
include spacing issues around colons in parameters and see also.

When no space is present numpydoc tend to miss-parse those sections

A couple of typos are fixed as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Via prototype docstring autoreformatter; and cherry-picked to mostly
include spacing issues around colons in parameters and see also.

When no space is present numpydoc tend to miss-parse those sections

A couple of typos are fixed as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Update examples in stack docstrings (#18054)</title>
<updated>2020-12-22T14:46:24+00:00</updated>
<author>
<name>daaawx</name>
<email>daaawx@gmail.com</email>
</author>
<published>2020-12-22T14:46:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ab12dc87f4717fc0fdeca314cd32cd5924928595'/>
<id>ab12dc87f4717fc0fdeca314cd32cd5924928595</id>
<content type='text'>
The numbers chosen in the stacking examples can make them difficult to interpret. I suggest using different numbers to make it unambiguous.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The numbers chosen in the stacking examples can make them difficult to interpret. I suggest using different numbers to make it unambiguous.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in shape_base (#17279)</title>
<updated>2020-09-09T18:38:56+00:00</updated>
<author>
<name>Yang Hau</name>
<email>vulxj0j8j8@gmail.com</email>
</author>
<published>2020-09-09T18:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e4630a2f5273307983b6ddca9b72aa0cf5a65784'/>
<id>e4630a2f5273307983b6ddca9b72aa0cf5a65784</id>
<content type='text'>
concatate to concatenate</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
concatate to concatenate</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Unify cross-references between array joining methods</title>
<updated>2020-05-10T14:52:37+00:00</updated>
<author>
<name>Tim Hoffmann</name>
<email>2836374+timhoffm@users.noreply.github.com</email>
</author>
<published>2020-05-10T02:21:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a1800a7dfe68c499e0da41ec4037eba42ba2051c'/>
<id>a1800a7dfe68c499e0da41ec4037eba42ba2051c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>STY: use 'yield from &lt;expr&gt;' for simple cases (#15444)</title>
<updated>2020-01-28T00:12:38+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2020-01-28T00:12:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f398a0df8a2105b2fdeaeab54505451169b0a869'/>
<id>f398a0df8a2105b2fdeaeab54505451169b0a869</id>
<content type='text'>
This PR uses simple cases of PEP 380 to rewrite:

for v in g:
    yield v
into:

yield from &lt;expr&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR uses simple cases of PEP 380 to rewrite:

for v in g:
    yield v
into:

yield from &lt;expr&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove Python2 workarounds</title>
<updated>2020-01-24T00:52:25+00:00</updated>
<author>
<name>Seth Troisi</name>
<email>sethtroisi@google.com</email>
</author>
<published>2020-01-24T00:49:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=823f6819dd86e75f772a3a725996773dd6b688e2'/>
<id>823f6819dd86e75f772a3a725996773dd6b688e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
