Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MAINT: Remove sys.version checks in tests | Seth Troisi | 2020-01-15 | 1 | -5/+0 | |
| | ||||||
* | DOC: fix typos | Brian Wignall | 2020-01-14 | 1 | -1/+1 | |
| | ||||||
* | Changed file extension of ma README. | Ross Barnowski | 2020-01-10 | 1 | -0/+0 | |
| | | | | Get github to render the rST correctly. | |||||
* | MAINT: Remove implicit inheritance from object class (#15236) | Jon Dufresne | 2020-01-05 | 11 | -56/+56 | |
| | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python. | |||||
* | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 15 | -30/+0 | |
| | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | |||||
* | Revert "DEP: issue deprecation warning when creating ragged array (NEP 34)"revert-14794-nep-0034-impl | Ralf Gommers | 2019-12-06 | 2 | -3/+3 | |
| | ||||||
* | Merge pull request #15039 from eric-wieser/fix-weird-reraise | Sebastian Berg | 2019-12-03 | 1 | -2/+1 | |
|\ | | | | | BUG: Exceptions tracebacks are dropped | |||||
| * | BUG: Exceptions tracebacks are dropped | Eric Wieser | 2019-12-03 | 1 | -2/+1 | |
| | | | | | | | | For some reason this code reconstructed brand new exception objects with no traceback, rather than just re-raising | |||||
* | | Merge pull request #14794 from mattip/nep-0034-impl | Ralf Gommers | 2019-12-02 | 2 | -3/+3 | |
|\ \ | | | | | | | DEP: issue deprecation warning when creating ragged array (NEP 34) | |||||
| * | | DEP: issue deprecation warning when creating ragged array (NEP 34) | mattip | 2019-10-31 | 2 | -3/+3 | |
| | | | ||||||
* | | | Merge pull request #14996 from eric-wieser/masked_rows-bad-argument | Sebastian Berg | 2019-12-02 | 2 | -2/+27 | |
|\ \ \ | |_|/ |/| | | DEP: Deprecate the axis argument to masked_rows and masked_cols | |||||
| * | | DEP: Deprecate the axis argument to masked_rows and masked_cols | Eric Wieser | 2019-12-02 | 2 | -2/+27 | |
| | | | | | | | | | | | | | | | This argument isn't used, and is confusing. (Small test added by seberg) | |||||
* | | | DOC: Document ma.filled behavior with non-scalar fill_value (#13698) | Kriti Singh | 2019-11-23 | 1 | -8/+33 | |
|/ / | | | | | * DOC: Document and deprecate ma.filled behavior with non-scalar fill_value | |||||
* | | MAINT: revert gh-14800, which gave precedence to OO->O over OO->? | mattip | 2019-11-06 | 1 | -6/+1 | |
| | | ||||||
* | | ENH: add OO->? loops, use np.compare(a, b, dtype=bool), add comments | mattip | 2019-10-30 | 1 | -0/+1 | |
| | | ||||||
* | | WIP, DEP, ENH: finish richcompare changes from 1.10 | mattip | 2019-10-29 | 1 | -1/+5 | |
|/ | ||||||
* | DOC: convert `None` to bare None or ``None`` | mattip | 2019-10-15 | 2 | -2/+2 | |
| | ||||||
* | DOC: add numpy prefix | mattip | 2019-10-15 | 1 | -14/+14 | |
| | ||||||
* | TST: add test to check that (semi-)public API modules can be imported | Ralf Gommers | 2019-09-19 | 1 | -14/+0 | |
| | | | | | Also remove `numpy.ma.version.py`, it was not importable and served no purpose. | |||||
* | DOC: lib: Add more explanation of the weighted average calculation. | Warren Weckesser | 2019-08-26 | 1 | -2/+5 | |
| | | | | | Also removed the incorrect comment from the docstring of `numpy.ma.average` about the imaginary part of `weights` being ignored. | |||||
* | Merge pull request #14290 from eric-wieser/fix-if-fields | Charles Harris | 2019-08-22 | 1 | -1/+1 | |
|\ | | | | | BUG: Fix misuse of .names and .fields in various places | |||||
| * | Merge remote-tracking branch 'upstream/master' into fix-if-fields | Eric Wieser | 2019-08-19 | 10 | -870/+930 | |
| |\ | ||||||
| * | | BUG: Fix detection of structured arrays in mrecords | Eric Wieser | 2019-08-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This check would fail on the structured type `np.dtype([])`. No test, since I don't really understand mrecords | |||||
* | | | DEP: Deprecate load/dump functions in favour of pickle methods | kritisingh1 | 2019-08-19 | 1 | -89/+2 | |
| |/ |/| | ||||||
* | | Merge pull request #14039 from sameshl/remove_depr_rank_func | Sebastian Berg | 2019-07-31 | 1 | -18/+1 | |
|\ \ | | | | | | | DEP: Remove np.rank which has been deprecated for more than 5 years | |||||
| * | | DEP: Remove np.rank which has been deprecated for more than 5 years | Samesh | 2019-07-31 | 1 | -18/+1 | |
| | | | | | | | | | | | | references #7059 | |||||
* | | | Merge pull request #14145 from eric-wieser/fix-14140 | Sebastian Berg | 2019-07-30 | 2 | -1/+7 | |
|\ \ \ | | | | | | | | | BUG: Remove the broken clip wrapper | |||||
| * | | | BUG: Remove the broken clip wrapper | Eric Wieser | 2019-07-28 | 2 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | ndarray.clip is already just a wrapper for the ufunc, so there is no need to do type-specific wrapping here any more Fixes gh-14140 | |||||
* | | | | MAINT: Use equality instead of identity check with literal | Harmon | 2019-07-25 | 1 | -1/+1 | |
| |/ / |/| | | | | | Resolves #14123 | |||||
* | | | Merge pull request #13928 from ↵ | Matti Picus | 2019-07-11 | 1 | -2/+9 | |
|\ \ \ | | | | | | | | | | | | | | | | | MSeifert04/ma-view-not-override-doc-with-ndarray-view DOC: Don't override MaskedArray.view documentation with the one from ndarray.view | |||||
| * | | | DOC: Don't override MaskedArray.view documentation with the one from ↵ | MSeifert04 | 2019-07-08 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndarray.view To document the fill_value parameter it's needed to display the correct docstring of the function instead of overwriting it with the docstring of ndarray.view | |||||
* | | | | DOC: Remove explicit .next method calls with built-in next | MSeifert04 | 2019-07-07 | 1 | -6/+4 | |
|/ / / | | | | | | | | | | | | | | | | | | | | | | In some cases the documentation examples failed with an AttributeError because the next method was not there. In a few other cases it still worked but may be more future-proof and ideomatic if they used the next function instead of the next method. | |||||
* | | | MAINT: Remove unnecessary parenthesis in numpy.ma.core | MSeifert04 | 2019-07-06 | 1 | -13/+13 | |
| | | | ||||||
* | | | DOC: Fix typo in "make_mask" documentation | MSeifert04 | 2019-07-02 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #13883 from MSeifert04/replace-integers-with-booleans | Charles Harris | 2019-07-02 | 4 | -17/+17 | |
|\ \ \ | | | | | | | | | MAINT: Replace integers in places where booleans are expected | |||||
| * | | | MAINT: Replace integers in places where booleans are expected | MSeifert04 | 2019-07-01 | 4 | -17/+17 | |
| | | | | ||||||
* | | | | DOC: Add missing parameter description for keepdims in MaskedArray | MSeifert04 | 2019-07-01 | 1 | -0/+12 | |
|/ / / | | | | | | | | | | | | | The methods max, min, ptp were missing the parameter in the documentation. | |||||
* | | | Deprecate collapsing shape-1 dtype fields to scalars. | Antony Lee | 2019-05-24 | 1 | -1/+2 | |
|/ / | | | | | | | | | | | | | | | | | Currently, a field specified as `[(name, dtype, 1)]` is interpreted as a scalar field (i.e., the same as `[(name, dtype)]` or `[(name, dtype, ()]`). This now raises a FutureWarning; in a future version, it will be interpreted as a shape-(1,) field, i.e. the same as `[(name, dtype, (1,))]` (consistently with `[(name, dtype, n)]` with `n>1`, which is already equivalent to `[(name, dtype, (n,)]`). | |||||
* | | Merge pull request #10308 from eric-wieser/mask-attr-is-view | Matti Picus | 2019-05-12 | 3 | -10/+19 | |
|\ \ | | | | | | | API: Make MaskedArray.mask return a view, rather than the underlying mask | |||||
| * | | API: Make MaskedArray.mask return a view, rather than the underlying mask | Eric Wieser | 2019-05-11 | 3 | -10/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This prevents consumers from reshaping the mask in place, which breaks things As a result, `x.mask is x.mask` returns `False`, but this was already true of `x.data is x.data`. May also be related to gh-10270 | |||||
* | | | ENH: Radix sort | Hameer Abbasi | 2019-05-11 | 1 | -7/+7 | |
| | | | ||||||
* | | | BUG: ma.tostring should respect the order parameter | Peter Bell | 2019-05-07 | 2 | -1/+5 | |
|/ / | ||||||
* | | DOC: fix some more See Also issues | Ralf Gommers | 2019-04-14 | 1 | -6/+6 | |
| | | | | | | | | These ones just generated warnings, not build failures | |||||
* | | DOC: fix docstring for floor_divide (#13242) | Assem | 2019-04-02 | 1 | -1/+1 | |
| | | | | | | * DOC: fix docstring for floor_divide | |||||
* | | DEV: cleanup imports and some assignments (from LGTM) | mattip | 2019-03-17 | 4 | -12/+7 | |
| | | ||||||
* | | DOC: fixes from review | mattip | 2019-02-28 | 1 | -5/+22 | |
| | | ||||||
* | | DOC: Simplify .real and .imag docstrings for MaskedArray | Eric Wieser | 2019-02-27 | 1 | -22/+4 | |
| | | ||||||
* | | MAINT: First pass at merging docstrings | Alex Watt | 2019-02-24 | 1 | -56/+26 | |
| | | ||||||
* | | MAINT: respond to PR feedback | Alex Watt | 2019-02-24 | 1 | -9/+9 | |
| | | ||||||
* | | MAINT: Convert property to @property | Alex Watt | 2019-02-24 | 3 | -41/+48 | |
| | |