| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently only supported for explicit bins
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes gh-7503
Closes gh-8984
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Fix misleading error when coercing to array
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Closes gh-7864
|
|/ / / / / / |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
MAINT: Move histogram and histogramdd into their own module
|
| |\ \ \ \ \ \
| | |/ / / / / |
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
800 self-contained lines are easily enough to go in their own file, as are the 500 lines of tests.
For compatibility, the names are still available through `np.lib.function_base.histogram` and `from np.lib.function_base import *`
For simplicity of imports, all of the unqualified `np.` names are now qualified
|
| |/ / / /
|/| | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
nansum started returning 0 from all-nan slices in 1.9.0, according to my
tests, not 1.8.1 or 1.8.2, which still return NaN.
[skip ci]
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
It's not at all clear what trans1d is supposed to do here, but it's certainly not supposed to change value between elements!
|
| | | |
| | | |
| | | |
| | | | |
Fixes gh-9233
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Fixup percentile docstring, from review in gh-9213
|
| |/ / /
| | | |
| | | |
| | | | |
Updates the two docstrings to match.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
* The np.ma functions are misleading, as they do not actually do anything special for ma.array
* The np.loads functions doesn't even have numpy-specific documentation, and does not behave consistently with `np.load`
* The string overloads of np.ma.load and np.ma.dump do not work well on python 3, as they make assumptions about whether a binary or text pickle file is used (gh-5491)
|
| | | |
|
|\ \ \
| | | |
| | | | |
DOC: describe the expansion of take and apply_along_axis in detail
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Extracted from gh-8714
[ci-skip]
|
|\ \ \ \
| | | | |
| | | | | |
ENH: Add encoding option to numpy text IO.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Minor cleanups of old code to reflect more modern usage.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add docstrings for some of the support functions in _datasource and
npyio in order to aid future maintainers.
[ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This modifies loadtxt and genfromtxt in several ways intended to add
unicode support for text files by adding an `encoding` keyword to
np.load, np.genfromtxt, np.savetxt, and np.fromregex. The original
treatment of the relevant files was to open them as byte
files, whereas they are now opened as text files with an encoding. When
read, they are decoded to unicode strings for Python3 compatibility,
and when written, they are encoded as specified. For backward
compatibility, the default encoding in both cases is latin1.
|
|/ / / /
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
ENH: Don't show the boolean dtype in array_repr
|
| | | | | |
|
|/ / / / |
|
| | | |
| | | |
| | | | |
Fixes #9995
|
|/ / /
| | |
| | |
| | |
| | | |
Adds support for Decimal to the rate, pv, fv, pmt, ppmt, ipmt, mirr, npv functions
Closes #9781
|
| | |
| | |
| | | |
Before this addition, people could expect that only the last sub-array would have a different size. The added documentation and example make clear what the function really does.
|
|\ \ \
| | | |
| | | | |
DOC: Clarify behavior of genfromtxt names field
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The documentation on the name parameter for npyio.genfromtxt uses the phrase
"valid line" which doesn't completely describe it's behavior. This updates the
documentation on the names field to indicate the first line, with or without a
comment delimeter, will be taken for the names field.
fixes #9878
|
|\ \ \ \
| |/ / /
|/| | | |
MAINT/BUG: Remove special-casing for 0d arrays, now that indexing with a single boolean is ok
|
| | | |
| | | |
| | | |
| | | | |
Especially necessary given the strange heuristics that decay the number of conditions to 1
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
single boolean is ok
Also fix the test added in gh-4792, which didn't make sense, but passed anyway
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The rendered markdown in the online documentation was broken due to
the one-character indentation added in the multiline enumerations of
the docstring of savetxt.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Split up the overloaded `bins` variable into separate names depending on its meaning
Helpful errors are now emitted for:
* non-integer bin counts (fixes gh-8072)
* non-1d bin edges
Removes another use of `np.isscalar`...
|
|\ \ \
| | | |
| | | | |
DEP: 0 should be passed to bincount, not None
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Fixes gh-580
|
|\ \ \
| | | |
| | | | |
DOC: Update arraypad to use np.pad in examples
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
Since Python 3.6 it is possible to write directly to a ZIP file,
without creating temporary files.
|