| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This update adds a section better describing record arrays in the user
guide (numpy/doc/structured_arrays.py).
It also corrects nomenclature, such that "structured array" refers to
ndarrays with structured dtype, "record array" refers to modified
ndarrays as created by np.rec.array, and "recarray" refers to ndarrays
viewed as np.recarray. See the note at the end of the structured
array user guide.
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| | |
1. Added `ma.clump_masked` and `ma.clump_unmasked` into the rst file;
2. Removed the `.extras` in the examples due to the namespace change
|
| | |
|
|\ \
| | |
| | |
| | | |
Reconcile C API with docs
|
| |/
| |
| |
| | |
PyArray_ITEMSIZE
|
| |
| |
| |
| | |
... so that the example is now the first thing seen after the (short) intro.
|
| | |
|
|/ |
|
|\
| |
| | |
WIP: gufunc core dimensions should not broadcast
|
| |
| |
| |
| |
| |
| | |
Documented the the new behavior in c-api.generalized-ufuncs.rst.
Added PyUFunc_FromFuncAndDataAndSignature to c-api.ufunc.rst.
|
|\ \
| | |
| | | |
DOC: update installation docs
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Installation docs still stated Python 2.4 is supported, while not mentioning
3.x at all. Also corrected the statement that distutils is in python-dev on
Debian, while it's actually in the main package.
Several parts of the dev docs and some comments also referenced now-irrelevant
2.5 bugs/limitations.
|
|/ / |
|
|/ |
|
|\
| |
| | |
DOC: Correct versionadded for __numpy_ufunc__ documentation.
|
| |
| |
| |
| | |
Make it 1.10.
|
| | |
|
|\ \
| | |
| | | |
documentation updates
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There is no NPY_ITEM_LISTPICKLE - it was NPY_LIST_PICKLE from the
beginning - from c3551579 (Expand usage of hasobject to be a flag-like
entity keeping track of how the data-type should be used.)
The documentation in the same rst file even uses the correct identifier
later, so it was just a typo/thinko.
|
| | | |
|
| | |
| | |
| | |
| | | |
closes gh-4898
|
| |/
| |
| |
| |
| | |
added to "Changing kind of array" with the other as* functions
Closes gh-4890
|
| | |
|
|\ \
| | |
| | | |
MAINT: start 1.10-devel.
|
| | |
| | |
| | |
| | |
| | |
| | | |
There has been a warning of this change since numpy 1.7. numpy 1.10
is a good time to do it. The nanvar function needed a fix after the
change, and the tests and documentation are updated.
|
|\ \ \
| | | |
| | | | |
MAINT: const correctness and minor fixes to C code
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
closes gh-4805
[ci skip]
|
| | |
| | |
| | |
| | | |
closes gh-618
|
|/ /
| |
| |
| | |
closes gh-4579
|
| |
| |
| |
| |
| | |
also minor general documentation fixes
[ci skip]
|
|\ \
| | |
| | | |
DOC: Rework the advanced indexing documentation.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Mostly makes the advanced indexing doc much more example based,
and prominently mentions the np.ix_ function.
Some subtleties (some of which are new) are also mentioned.
|
| |/
|/| |
|
| |
| |
| |
| |
| | |
also fix wrong capi documentation of PyArray_NewFromDescr stating it
accepts NULL dtype while it does not.
|
| |
| |
| |
| |
| | |
Also fix a duplicate entry for numpy.testing due to incorrect
header underlining.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
I find it much more convenient to define the PY_ARRAY_UNIQUE_SYMBOL in a
header file #included by all files of the extension (than to repeat its definition in each and every file).
|
| | |
|
| |
| |
| |
| | |
The item size is not always used (and not always means exact bytes), and
'O' was not in the table.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a multi index is tracked and RemoveAxis can be called, the
size of the iterator may still change. This was causing failures
for example for the SVD, because the gufunc machinery requires
a temporarily larger iterator for output allocation.
Thanks to Jaime (jaime.frio@gmail.com) for noting that this is
plausible since the size check can be delayed pretty ok up
until GetIterNext (or similar functions).
Closes gh-4442
|
| | |
|
| |
| |
| | |
Undefined `dataaddr` -> `dataptrarray`
|
| |
| |
| |
| |
| |
| | |
- promote_types does not return correct string size for integer and string arguments. Fix so that integer and string types are promoted to string type that is long enough to hold integer type safely cast to string.
- can_cast incorrectly returns True for certain integer and string types. Fix so that can_cast only returns True if string type is long enough to hold integer type safely cast to string.
- calling astype to convert integer to string should fail if string type is not long enough to hold integer converted to string and casting argument is set to "safe".
|
| |
| |
| | |
Add a note explaining the ``out`` parameter of some functions.
|
| |
| |
| |
| |
| |
| | |
Found by trac user komnomnomnom.
Closes #588.
|
|/
|
|
|
|
|
| |
tostring returns bytes which are not equal to string, so provide a
tobytes function alias.
tostring does not emit a deprecation warning yet so rdepends do not need
to check two names to support older versions of numpy without warnings.
|