Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MAINT: Remove pointless axis permutation | Eric Wieser | 2018-04-08 | 1 | -9/+3 | |
| | ||||||
* | MAINT: Remove redundant operations in 1d masking | Eric Wieser | 2018-04-08 | 1 | -1/+1 | |
| | | | | `x1d[nonzero(mask1d)[0]]` is just a less readable way to spell `x1d[mask1d]` | |||||
* | BUG: Use intp for indices | Eric Wieser | 2018-04-06 | 1 | -1/+1 | |
| | | | | Fixes gh-8531 | |||||
* | DOC: Document the surprising behaviour of np.histogramdd on array_likes | Eric Wieser | 2018-04-06 | 1 | -4/+12 | |
| | ||||||
* | MAINT/ENH: Reuse range computation code from np.histogram in np.histogramdd | Eric Wieser | 2018-04-06 | 1 | -29/+15 | |
| | | | | This also adds support for inferring the range along a subset of the axes, rather than an all or nothing approach. | |||||
* | MAINT: Give a more useful error messages for bins of an incorrect dimension | Eric Wieser | 2018-03-26 | 1 | -2/+5 | |
| | | | | | | Previously gave `ValueError: object too deep for desired array` from an internal call This also adds support for 0d array bincounts | |||||
* | MAINT: Only check bin monotonicity if not using linspace | Eric Wieser | 2018-03-26 | 1 | -5/+6 | |
| | | | | | This also switches to doing comparisons rather than subtractions, for consistency with np.histogram. That change is not strictly necessary here as the arguments are not unsigned integer types (unlike in np.histogram), but it would nice to support integer bins in future. | |||||
* | MAINT: Unify computation of `nbin[i]` | Eric Wieser | 2018-03-26 | 1 | -3/+2 | |
| | ||||||
* | MAINT: Make np.histogramdd error messages consistent with np.histogram | Eric Wieser | 2018-03-26 | 1 | -4/+4 | |
| | ||||||
* | MAINT: The histogram_bin_edges function needs a raw docstring. | Charles Harris | 2018-03-16 | 1 | -1/+1 | |
| | ||||||
* | DOC: Move bin estimator documentation from `histogram` to `histogram_bin_edges` | Eric Wieser | 2018-03-16 | 1 | -107/+75 | |
| | ||||||
* | ENH: Add np.histogram_bin_edges (#10591) | Kirit Thadaka | 2018-03-15 | 1 | -2/+126 | |
| | | | | | Fixes #10183 Documentation is copied from np.histogram | |||||
* | Merge pull request #10618 from eric-wieser/avoid-nontuple-indices | Marten van Kerkwijk | 2018-03-15 | 1 | -1/+1 | |
|\ | | | | | MAINT: Stop using non-tuple indices internally | |||||
| * | MAINT: Stop using non-tuple indices internally | Eric Wieser | 2018-02-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | 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 | |||||
* | | MAINT: Improve range error messages in np.histogram (#10603) | Kirit Thadaka | 2018-02-20 | 1 | -7/+9 | |
|/ | ||||||
* | BUG: Fix crashes when using float32 values in uniform histograms | Eric Wieser | 2018-02-02 | 1 | -7/+18 | |
| | | | | | | | | Fixes #8123, closes #9189, fixes #10319 This is a workaround to #10322, not a fix for it. Adds tests for cases where bounds are more precise than the data, which led to inconsistencies in the optimized path. | |||||
* | MAINT: Extract helper function for last-bound-inclusive search_sorted | Eric Wieser | 2017-12-27 | 1 | -6/+16 | |
| | | | | Also avoids `r_`, and construction of arrays from lists | |||||
* | ENH: Add support for datetimes to histograms | Eric Wieser | 2017-12-26 | 1 | -9/+11 | |
| | | | | Currently only supported for explicit bins | |||||
* | BUG: Allow nan values in the data when the bins are explicit | Eric Wieser | 2017-12-24 | 1 | -2/+4 | |
| | | | | | Fixes gh-7503 Closes gh-8984 | |||||
* | Merge pull request #10268 from eric-wieser/fix-gh-7864 | Charles Harris | 2017-12-24 | 1 | -1/+1 | |
|\ | | | | | BUG: Fix misleading error when coercing to array | |||||
| * | BUG: Fix misleading error when coercing to array | Eric Wieser | 2017-12-24 | 1 | -1/+1 | |
| | | | | | | | | Closes gh-7864 | |||||
* | | MAINT: extract private helper function to compute histogram bin edges | Eric Wieser | 2017-12-24 | 1 | -68/+91 | |
|/ | ||||||
* | MAINT: Extract helper functions from histogram | Eric Wieser | 2017-12-22 | 1 | -27/+44 | |
| | ||||||
* | MAINT: Move histogram and histogramdd into their own module | Eric Wieser | 2017-12-10 | 1 | -0/+811 | |
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 |