diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-07-01 18:08:20 +0200 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-07-09 10:32:32 +0200 |
| commit | 61d58a221fbfaba36ff67fc4b72add83b87a3db7 (patch) | |
| tree | 1efe6cb0798c375531a12c15c8a67a52328d0374 /numpy | |
| parent | b32b72e3d98d784b98d9c38d4f9905574a60707d (diff) | |
| download | numpy-61d58a221fbfaba36ff67fc4b72add83b87a3db7.tar.gz | |
MAINT: Re-export the content of `np.lib.histograms`
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/__init__.pyi | 9 | ||||
| -rw-r--r-- | numpy/lib/__init__.pyi | 6 |
2 files changed, 12 insertions, 3 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index ca0c79b17..494bde320 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -466,6 +466,12 @@ from numpy.lib.function_base import ( quantile as quantile, ) +from numpy.lib.histograms import ( + histogram_bin_edges as histogram_bin_edges, + histogram as histogram, + histogramdd as histogramdd, +) + from numpy.lib.index_tricks import ( ravel_multi_index as ravel_multi_index, unravel_index as unravel_index, @@ -879,9 +885,6 @@ class vectorize: def asmatrix(data, dtype=...): ... def asscalar(a): ... def cumproduct(*args, **kwargs): ... -def histogram(a, bins=..., range=..., normed=..., weights=..., density=...): ... -def histogram_bin_edges(a, bins=..., range=..., weights=...): ... -def histogramdd(sample, bins=..., range=..., normed=..., weights=..., density=...): ... def mat(data, dtype=...): ... def max(a, axis=..., out=..., keepdims=..., initial=..., where=...): ... def min(a, axis=..., out=..., keepdims=..., initial=..., where=...): ... diff --git a/numpy/lib/__init__.pyi b/numpy/lib/__init__.pyi index 45a283782..bb5224247 100644 --- a/numpy/lib/__init__.pyi +++ b/numpy/lib/__init__.pyi @@ -83,6 +83,12 @@ from numpy.lib.function_base import ( quantile as quantile, ) +from numpy.lib.histograms import ( + histogram_bin_edges as histogram_bin_edges, + histogram as histogram, + histogramdd as histogramdd, +) + from numpy.lib.index_tricks import ( ravel_multi_index as ravel_multi_index, unravel_index as unravel_index, |
