ranranrunforit's picture
download
raw
1.06 kB
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], ...]]: ...

Xet Storage Details

Size:
1.06 kB
·
Xet hash:
e83fe13434b48a491a60d491893734b63aecfd2715876d5b71df76e6d9f3ea19

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.