-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Expand file tree
/
Copy path_histograms_impl.pyi
More file actions
40 lines (34 loc) · 1.03 KB
/
Copy path_histograms_impl.pyi
File metadata and controls
40 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from collections.abc import Sequence
from typing import Any, Literal as L, SupportsIndex, TypeAlias
from numpy._typing import ArrayLike, NDArray
__all__ = ["histogram", "histogramdd", "histogram_bin_edges"]
_BinKind: TypeAlias = L[
"stone",
"auto",
"doane",
"fd",
"rice",
"scott",
"sqrt",
"sturges",
]
def histogram_bin_edges(
a: ArrayLike,
bins: _BinKind | SupportsIndex | ArrayLike = 10,
range: tuple[float, float] | None = None,
weights: ArrayLike | None = None,
) -> NDArray[Any]: ...
def histogram(
a: ArrayLike,
bins: _BinKind | SupportsIndex | ArrayLike = 10,
range: tuple[float, float] | None = None,
density: bool | None = None,
weights: ArrayLike | None = None,
) -> tuple[NDArray[Any], NDArray[Any]]: ...
def histogramdd(
sample: ArrayLike,
bins: SupportsIndex | ArrayLike = 10,
range: Sequence[tuple[float, float]] | None = None,
density: bool | None = None,
weights: ArrayLike | None = None,
) -> tuple[NDArray[Any], tuple[NDArray[Any], ...]]: ...