pandera.typing

Typing definitions and helpers.

Pandas object annotations

DataFrame([data, index, columns, dtype, copy])

Representation of pandas.DataFrame, only used for type annotation.

Index([data, dtype, copy, name, tupleize_cols])

Representation of pandas.Index, only used for type annotation.

Series([data, index, dtype, name, copy, …])

Representation of pandas.Series, only used for type annotation.

Dtype annotations

Bool()

Semantic representation of a boolean data type.

DateTime

alias of pandera.dtypes.Timestamp

Timedelta()

Semantic representation of a delta time data type.

Category([categories, ordered])

Semantic representation of a categorical data type.

Float()

Semantic representation of a floating data type.

Float16()

Semantic representation of a floating data type stored in 16 bits.

Float32()

Semantic representation of a floating data type stored in 32 bits.

Float64()

Semantic representation of a floating data type stored in 64 bits.

Int()

Semantic representation of an integer data type.

Int8()

Semantic representation of an integer data type stored in 8 bits.

Int16()

Semantic representation of an integer data type stored in 16 bits.

Int32()

Semantic representation of an integer data type stored in 32 bits.

Int64()

Semantic representation of an integer data type stored in 64 bits.

UInt8()

Semantic representation of an unsigned integer data type stored in 8 bits.

UInt16()

Semantic representation of an unsigned integer data type stored in 16 bits.

UInt32()

Semantic representation of an unsigned integer data type stored in 32 bits.

UInt64()

Semantic representation of an unsigned integer data type stored in 64 bits.

INT8()

Semantic representation of a pandas.Int8Dtype.

INT16()

Semantic representation of a pandas.Int16Dtype.

INT32()

Semantic representation of a pandas.Int32Dtype.

INT64()

Semantic representation of a pandas.Int64Dtype.

UINT8()

Semantic representation of a pandas.UInt8Dtype.

UINT16()

Semantic representation of a pandas.UInt16Dtype.

UINT32()

Semantic representation of a pandas.UInt32Dtype.

UINT64()

Semantic representation of a pandas.UInt64Dtype.

Object()

Semantic representation of a numpy.object_.

String()

Semantic representation of a string data type.

STRING([storage])

Semantic representation of a pandas.StringDtype.