| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The contents of the module warnings registries was made more module
specific in Python 3.7 and consequently the tests of the context
managers clear_and_catch_warnings and suppress_warnings need updating.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In Python 3.7 the return type of PyUnicode_AsUTF8 has changed from
`char *` to `const char *` and the variable the return is stored in
needs to match.
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Move bin estimator documentation from `histogram` to `histogram_bin_edges`
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: fix complex casting error in cov with aweights
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When using cov with a complex input and with aweights specified, cov
will error as a result of trying to cast a complex value into a float64.
This comes about since average is used to calculate the sum of the
weights from aweights. average returns the sum of weights as the same
type as its result, not the weights type. For a complex input m, and
any type for aweights, this would result in a complex value for fact.
It appears the primary purpose of np.float64(fact) is to provide a NaN
value from the divide when fact is an integer zero. This has been
replaced by using numpy.divide to replicate the same behavior, but to
also handle complex types.
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Upload devdocs and neps after build
* Install numpydoc
* Fix masked array documentation injection
`doc_note` appends a `Notes` section to docstrings, which may lead to
duplicate sections.
* Add deploy key for neps repo
Note that we have to explicitly reset the ~/.ssh/config to only leave
one SSH key
* Only deploy on master branch
* Blow away previous dev docs after each upload
* Add tool to upload files to remote repo
* Remove numpydoc from pip install; it is included as a submodule
* Avoid using invalid escape code
* Rename repo upload tool
* Use check_call to simplify doc pushing tool
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #10183
Documentation is copied from np.histogram
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT: Stop using non-tuple indices internally
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
By not using this type of indexing, it becomes easier for subclasses to override indexing in a way that works correctly with numpy functions.
These locations were found by deprecating the behavior in question, which is deliberately not part of this commit
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DOC: Add graph showing different behaviors of np.percentile
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
With thanks to @ricardoV94 for inspiring this
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
DOC: Fix typo in warning message
|
| | |_|_|/ / /
| |/| | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|/ / / / / / |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Abstract collection classes accessed from the collections module
have been deprecated since Python 3.3. They should be
accessed through collections.abc. When run with Python
3.7, the deprecation warning cause multiple tests to
fail.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Fix bug in asserting near equality of float16 arrays.
|
| | | | | | |
|
| | | | | | |
|
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* TST: skip refcount-requiring tests if sys.refcount is missing
* ENH: io: add refcheck=False to a safe .resize() call
The array is allocated immediately above, and the resize always succeeds
so it is not necessary to check it. Fixes Pypy compatibility.
* TST: remove unused code
* TST: factor skipif(not HAS_REFCOUNT) into a separate decorator
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* MAINT: Replace print statements for Python3.
Updates tools/swig/test/testSuperTensor.py.
* MAINT: Fix deprecated escaped characters for python 3.6+.
Update numpy/linalg/lapack_lite/clapack_scrub.py.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: dragon4 fractional output mode adds too many trailing zeros
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes #10713
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: distutils: Remove named templates from the processed output (fix gh-10712)
|
| | | | | | | |
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The code now does not copy the named templates found outside
a function or subroutine to the output file.
Fixes gh-10712.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DOC: add documentation for constants
|
| | | | | | | |
|
| |/ / / / / |
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BLD: Add configuration changes to allow cross platform builds for iOS.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When building NumPy for iOS, you build on macOS, with compiler flags to target iOS or the iOS simulator. However, setup.py runs on macOS, so sys.platform == 'darwin', regardless of the platform being targetted.
distutils provides an environment variable - _PYTHON_HOST_PLATFORM - to indicate when you are building for a different platform. This patches uses that variable to identify cross-platform builds and disable macOS specific features.
The patch also renames an internal method in strfuncs to avoid a collision with a symbol in iOS's standard library, and includes math.h to avoid errors about undefined symbols.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
MAINT: Hard tab and whitespace cleanup.
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
BUG: Further back-compat fix for subclassed array repr (forward port)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes #10663
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: fix problem with modifing pyf lines containing ';' in f2py
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Regression tests for bug discussed in pull request #10676.
Lines matching the multiline or f2py enhancement pattern should not be
split by ';'.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The variable line was assigned to before checking whether it
contains a multiline or f2py enhancement pattern. In these cases
the line should not be split by ';'. See pull request #10676.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
DOC: Improve docstring of memmap
|
| | |/ / / / /
| |/| | | | |
| | | | | | | |
See also 8a38f64.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
BUG: fix error message in numpy.select
|
| | |/ / / / /
| |/| | | | | |
|
|/ / / / / /
| | | | | |
| | | | | | |
ENH: Allow dtype field names to be ascii encoded unicode in Python2
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
[ci-skip]
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* [BUG] add "symmetric" to "positive-semidefinite"
* Break line, fix comments
* break long line
|