pandera.typing.Series

class pandera.typing.Series(data=None, index=None, dtype=None, name=None, copy=None, fastpath=<no_default>)[source]

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

new in 0.5.0

Attributes

T

Return the transpose, which is by definition self.

array

The ExtensionArray of the data backing this Series or Index.

at

Access a single value for a row/column label pair.

attrs

Dictionary of global attributes of this dataset.

axes

Return a list of the row axis labels.

default_dtype

dtype

Return the dtype object of the underlying data.

dtypes

Return the dtype object of the underlying data.

empty

Indicator whether Series/DataFrame is empty.

flags

Get the properties associated with this pandas object.

hasnans

Return True if there are any NaNs.

iat

Access a single value for a row/column pair by integer position.

iloc

Purely integer-location based indexing for selection by position.

index

The index (axis labels) of the Series.

is_monotonic_decreasing

Return boolean if values in the object are monotonically decreasing.

is_monotonic_increasing

Return boolean if values in the object are monotonically increasing.

is_unique

Return boolean if values in the object are unique.

loc

Access a group of rows and columns by label(s) or a boolean array.

name

Return the name of the Series.

nbytes

Return the number of bytes in the underlying data.

ndim

Number of dimensions of the underlying data, by definition 1.

shape

Return a tuple of the shape of the underlying data.

size

Return the number of elements in the underlying data.

values

Return Series as ndarray or ndarray-like depending on the dtype.

Methods