Common Type Definitions

Array Types

arch.typing.ArrayLike1D

alias of ndarray | Series

arch.typing.ArrayLike2D

alias of ndarray | DataFrame

arch.typing.ArrayLike

alias of ndarray | DataFrame | Series

arch.typing.NDArray

alias of ndarray

arch.typing.Float64Array

alias of ndarray[Any, dtype[float64]]

arch.typing.Int64Array

alias of ndarray[Any, dtype[longlong]]

arch.typing.Int32Array

alias of ndarray[Any, dtype[int32]]

arch.typing.IntArray

alias of ndarray[Any, dtype[int64]]

arch.typing.BoolArray

alias of ndarray[Any, dtype[bool]]

arch.typing.AnyArray

alias of ndarray[Any, Any]

arch.typing.Uint32Array

alias of ndarray[Any, dtype[uint32]]

class arch.typing.FloatOrArray

alias of TypeVar(‘FloatOrArray’, float, ~numpy.ndarray)

class arch.typing.NDArrayOrFrame

alias of TypeVar(‘NDArrayOrFrame’, ~numpy.ndarray[~typing.Any, ~numpy.dtype[~numpy.float64]], ~pandas.core.frame.DataFrame)

arch.typing.AnyPandas

alias of Series | DataFrame

Other Types

arch.typing.RandomStateState

alias of tuple[str, ndarray[Any, dtype[uint32]], int, int, float]

arch.typing.RNGType

alias of Callable[[int | tuple[int, …]], ndarray[Any, dtype[float64]]]

arch.typing.BootstrapIndexT

alias of ndarray[Any, dtype[longlong]] | tuple[ndarray[Any, dtype[longlong]], …] | tuple[list[ndarray[Any, dtype[longlong]]], dict[str, ndarray[Any, dtype[longlong]]]]

arch.typing.DateLike

alias of str | datetime | datetime64 | Timestamp

arch.typing.Label

alias of Hashable | None

arch.typing.UnitRootTrend

alias of Literal[‘n’, ‘c’, ‘ct’, ‘ctt’]

arch.typing.ForecastingMethod

alias of Literal[‘analytic’, ‘simulation’, ‘bootstrap’]