<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/doc/source/reference/routines.rst, branch dependabot/pip/gitpython-3.1.14</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>DEP: lib: Remove the deprecated financial functions. (#17067)</title>
<updated>2020-08-13T00:41:23+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-08-13T00:41:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b4fd7a79bc55f17f301d219492528e6f5f40c6f0'/>
<id>b4fd7a79bc55f17f301d219492528e6f5f40c6f0</id>
<content type='text'>
As explained in NEP 32, the financial functions are to be removed
from version 1.20.
They are now replaced with module level `__getattr__` to give a useful
error message for those surprised by the `AttributeError`.

This only works for Python 3.7+, but it is expected that by the 1.20 release
Python 3.6 will not be supported.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As explained in NEP 32, the financial functions are to be removed
from version 1.20.
They are now replaced with module level `__getattr__` to give a useful
error message for those surprised by the `AttributeError`.

This only works for Python 3.7+, but it is expected that by the 1.20 release
Python 3.6 will not be supported.</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add closed generator to randint</title>
<updated>2019-05-20T15:53:28+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2019-04-16T06:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=dd77ce3cb84986308986974acfe988575323f75a'/>
<id>dd77ce3cb84986308986974acfe988575323f75a</id>
<content type='text'>
Add closed option to randint to simplify some cases
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add closed option to randint to simplify some cases
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: __dealloc__ can be called without __init__ in some error modes</title>
<updated>2019-05-20T15:45:27+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-04-12T07:27:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=9578dcfbe744854312690ea79063e50d67fc88a2'/>
<id>9578dcfbe744854312690ea79063e50d67fc88a2</id>
<content type='text'>
skip doctests that require scipy
move original mtrand module to _mtrand
adjust documentation for namespace change
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
skip doctests that require scipy
move original mtrand module to _mtrand
adjust documentation for namespace change
</pre>
</div>
</content>
</entry>
<entry>
<title>BUILD: move files out of _randomgen</title>
<updated>2019-05-20T15:45:27+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-03-20T10:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=fa8af41c9d375072b2c7af66e5f7f01df4754841'/>
<id>fa8af41c9d375072b2c7af66e5f7f01df4754841</id>
<content type='text'>
first cut at building randomgen
upgrade 'cythonize' and fix absolute imports to relative
define NPY_NO_DEPRECATED_API and fix other warnings
enable pgc64 by always using PCG_EMULATED_MATH
refactor so import randomgen works
add TODO comments for pcg64 improvements
fix imports, module name in setup.py; remove _testing
make cythonize non-recursive, restore examples to proper place
update to randomgen 7bca296c0b9
replace mtrand with LegacyGenerator, tweak for compatibility
port f879ef4 to fix GH10839
minimized difference between generator.pyx and _legacy.pyx
fix namespace in doctests, mark results that are random
update to randomgen commit 95c8cdd1c
Incorporate testing of edge cases into main tests
Rename test files to describe their purpose
Import import locations to reflect numpy paths
Correct tolerance on float32 tests
Remove set_printoptions
Remove complex normal
Remove future imports
Pull in BasicRNG source changes from original author
Small doc fixes
_mtrand =&gt; _rand
Improve consistency of nan handling
Prevent nans prducing values from int functions
add randomgen documentation to the tree
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
first cut at building randomgen
upgrade 'cythonize' and fix absolute imports to relative
define NPY_NO_DEPRECATED_API and fix other warnings
enable pgc64 by always using PCG_EMULATED_MATH
refactor so import randomgen works
add TODO comments for pcg64 improvements
fix imports, module name in setup.py; remove _testing
make cythonize non-recursive, restore examples to proper place
update to randomgen 7bca296c0b9
replace mtrand with LegacyGenerator, tweak for compatibility
port f879ef4 to fix GH10839
minimized difference between generator.pyx and _legacy.pyx
fix namespace in doctests, mark results that are random
update to randomgen commit 95c8cdd1c
Incorporate testing of edge cases into main tests
Rename test files to describe their purpose
Import import locations to reflect numpy paths
Correct tolerance on float32 tests
Remove set_printoptions
Remove complex normal
Remove future imports
Pull in BasicRNG source changes from original author
Small doc fixes
_mtrand =&gt; _rand
Improve consistency of nan handling
Prevent nans prducing values from int functions
add randomgen documentation to the tree
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: reorganize user guide a bit + import "tentative numpy tutorial" from wiki</title>
<updated>2015-10-25T14:20:51+00:00</updated>
<author>
<name>Pauli Virtanen</name>
<email>pav@iki.fi</email>
</author>
<published>2015-10-25T14:20:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=3f6ffa8b7062c7023705361540b6efbe192289c7'/>
<id>3f6ffa8b7062c7023705361540b6efbe192289c7</id>
<content type='text'>
The user guide was missing a quick tutorial --- the basics.* stuff is
somewhat too complex already.

The "building numpy" instructions also should not be "introductory
material".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The user guide was missing a quick tutorial --- the basics.* stuff is
somewhat too complex already.

The "building numpy" instructions also should not be "introductory
material".
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: remove obsolete oldnumeric/numarray sections from reference guide.</title>
<updated>2014-04-21T13:01:07+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@googlemail.com</email>
</author>
<published>2014-04-21T13:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=db668f3792247422010825cf76c9dd927166468b'/>
<id>db668f3792247422010825cf76c9dd927166468b</id>
<content type='text'>
Also fix a duplicate entry for numpy.testing due to incorrect
header underlining.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix a duplicate entry for numpy.testing due to incorrect
header underlining.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove maskna API from ndarray, and all (and only) the code supporting it</title>
<updated>2012-06-16T09:45:38+00:00</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2012-05-11T13:31:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b272bc605ce7784be5b3edb13ad7afe22b04e71f'/>
<id>b272bc605ce7784be5b3edb13ad7afe22b04e71f</id>
<content type='text'>
The original masked-NA-NEP branch contained a large number of changes
in addition to the core NA support. For example:
 - ufunc.__call__ support for where= argument
 - nditer support for arbitrary masks (in support of where=)
 - ufunc.reduce support for simultaneous reduction over multiple axes
 - a new "array assignment API"
 - ndarray.diagonal() returning a view in all cases
 - bug-fixes in __array_priority__ handling
 - datetime test changes
etc. There's no consensus yet on what should be done with the
maskna-related part of this branch, but the rest is generally useful
and uncontroversial, so the goal of this branch is to identify exactly
which code changes are involved in maskna support.

The basic strategy used to create this patch was:
 - Remove the new masking-related fields from ndarray, so no arrays
   are masked
 - Go through and remove all the code that this makes
   dead/inaccessible/irrelevant, in a largely mechanical fashion. So
   for example, if I saw 'if (PyArray_HASMASK(a)) { ... }' then that
   whole block was obviously just dead code if no arrays have masks,
   and I removed it. Likewise for function arguments like skipna that
   are useless if there aren't any NAs to skip.

This changed the signature of a number of functions that were newly
exposed in the numpy public API. I've removed all such functions from
the public API, since releasing them with the NA-less signature in 1.7
would create pointless compatibility hassles later if and when we add
back the NA-related functionality. Most such functions are removed by
this commit; the exception is PyArray_ReduceWrapper, which requires
more extensive surgery, and will be handled in followup commits.

I also removed the new ndarray.setasflat method. Reason: a comment
noted that the only reason this was added was to allow easier testing
of one branch of PyArray_CopyAsFlat. That branch is now the main
branch, so that isn't an issue. Nonetheless this function is arguably
useful, so perhaps it should have remained, but I judged that since
numpy's API is already hairier than we would like, it's not a good
idea to add extra hair "just in case". (Also AFAICT the test for this
method in test_maskna was actually incorrect, as noted here:
   https://github.com/njsmith/numpyNEP/blob/master/numpyNEP.py
so I'm not confident that it ever worked in master, though I haven't
had a chance to follow-up on this.)

I also removed numpy.count_reduce_items, since without skipna it
became trivial.

I believe that these are the only exceptions to the "remove dead code"
strategy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The original masked-NA-NEP branch contained a large number of changes
in addition to the core NA support. For example:
 - ufunc.__call__ support for where= argument
 - nditer support for arbitrary masks (in support of where=)
 - ufunc.reduce support for simultaneous reduction over multiple axes
 - a new "array assignment API"
 - ndarray.diagonal() returning a view in all cases
 - bug-fixes in __array_priority__ handling
 - datetime test changes
etc. There's no consensus yet on what should be done with the
maskna-related part of this branch, but the rest is generally useful
and uncontroversial, so the goal of this branch is to identify exactly
which code changes are involved in maskna support.

The basic strategy used to create this patch was:
 - Remove the new masking-related fields from ndarray, so no arrays
   are masked
 - Go through and remove all the code that this makes
   dead/inaccessible/irrelevant, in a largely mechanical fashion. So
   for example, if I saw 'if (PyArray_HASMASK(a)) { ... }' then that
   whole block was obviously just dead code if no arrays have masks,
   and I removed it. Likewise for function arguments like skipna that
   are useless if there aren't any NAs to skip.

This changed the signature of a number of functions that were newly
exposed in the numpy public API. I've removed all such functions from
the public API, since releasing them with the NA-less signature in 1.7
would create pointless compatibility hassles later if and when we add
back the NA-related functionality. Most such functions are removed by
this commit; the exception is PyArray_ReduceWrapper, which requires
more extensive surgery, and will be handled in followup commits.

I also removed the new ndarray.setasflat method. Reason: a comment
noted that the only reason this was added was to allow easier testing
of one branch of PyArray_CopyAsFlat. That branch is now the main
branch, so that isn't an issue. Nonetheless this function is arguably
useful, so perhaps it should have remained, but I judged that since
numpy's API is already hairier than we would like, it's not a good
idea to add extra hair "just in case". (Also AFAICT the test for this
method in test_maskna was actually incorrect, as noted here:
   https://github.com/njsmith/numpyNEP/blob/master/numpyNEP.py
so I'm not confident that it ever worked in master, though I haven't
had a chance to follow-up on this.)

I also removed numpy.count_reduce_items, since without skipna it
became trivial.

I believe that these are the only exceptions to the "remove dead code"
strategy.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add module containing functions for padding n-dimensional arrays.</title>
<updated>2012-04-04T19:29:16+00:00</updated>
<author>
<name>tim cera</name>
<email>tcera@sjrwmd.com</email>
</author>
<published>2012-02-06T17:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=7270d9e6054e105c6c7ace66b443870a9e299b75'/>
<id>7270d9e6054e105c6c7ace66b443870a9e299b75</id>
<content type='text'>
The various padding functions are exposed as options to a public 'pad'
function.  Example:

    pad(a, 5, mode='mean')

Current modes are 'constant', 'edge', 'linear_ramp', 'maximum', 'mean',
'median', 'minimum', 'reflect', 'symmetric', 'wrap', and &lt;function&gt;

This commit includes unit tests and doctests and is based on feature
request ticket #655.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The various padding functions are exposed as options to a public 'pad'
function.  Example:

    pad(a, 5, mode='mean')

Current modes are 'constant', 'edge', 'linear_ramp', 'maximum', 'mean',
'median', 'minimum', 'reflect', 'symmetric', 'wrap', and &lt;function&gt;

This commit includes unit tests and doctests and is based on feature
request ticket #655.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: missingdata: Add introductory documentation for NA-masked arrays</title>
<updated>2011-08-27T13:27:01+00:00</updated>
<author>
<name>Mark Wiebe</name>
<email>mwwiebe@gmail.com</email>
</author>
<published>2011-08-25T17:21:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b64ace52c232fca7c1532666d202b756389a6b33'/>
<id>b64ace52c232fca7c1532666d202b756389a6b33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add the polynomial module to the documentation.</title>
<updated>2011-06-20T20:14:02+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2011-06-18T19:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=008c9318789050ee53b3bd420b3610cf4c4f338e'/>
<id>008c9318789050ee53b3bd420b3610cf4c4f338e</id>
<content type='text'>
Also:
1. Note that the polynomial package is preferred over poly1d.

2. Remove deprecation of mapparms in __init__.py as it interferes with the
   documention of the method of the same name. This is probably safe as it
   is unlikely to be used yet.

3. Make some improvements to the documentation in polytemplate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
1. Note that the polynomial package is preferred over poly1d.

2. Remove deprecation of mapparms in __init__.py as it interferes with the
   documention of the method of the same name. This is probably safe as it
   is unlikely to be used yet.

3. Make some improvements to the documentation in polytemplate.
</pre>
</div>
</content>
</entry>
</feed>
