You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvim_config/typings/numpy/lib/histograms.pyi

20 lines
931 B

"""
This type stub file was generated by pyright.
"""
from collections.abc import Sequence
from typing import Any, Literal as L, SupportsIndex
from numpy._typing import ArrayLike, NDArray
_BinKind = L["stone", "auto", "doane", "fd", "rice", "scott", "sqrt", "sturges",]
__all__: list[str]
def histogram_bin_edges(a: ArrayLike, bins: _BinKind | SupportsIndex | ArrayLike = ..., range: None | tuple[float, float] = ..., weights: None | ArrayLike = ...) -> NDArray[Any]:
...
def histogram(a: ArrayLike, bins: _BinKind | SupportsIndex | ArrayLike = ..., range: None | tuple[float, float] = ..., density: bool = ..., weights: None | ArrayLike = ...) -> tuple[NDArray[Any], NDArray[Any]]:
...
def histogramdd(sample: ArrayLike, bins: SupportsIndex | ArrayLike = ..., range: Sequence[tuple[float, float]] = ..., density: None | bool = ..., weights: None | ArrayLike = ...) -> tuple[NDArray[Any], list[NDArray[Any]]]:
...