pandera.typing.pyspark.Series

class pandera.typing.pyspark.Series(data=None, index=None, dtype=None, name=None, copy=False, fastpath=False)[source]

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

new in 0.8.0

Attributes

T

Return the transpose, which is self.

at

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

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

Returns true if the current object is empty.

hasnans

Return True if it has any missing values.

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) Column of the Series.

is_monotonic

Return boolean if values in the object are monotonically increasing.

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 Series.

name

Return name of the Series.

ndim

Return an int representing the number of array dimensions.

shape

Return a tuple of the shape of the underlying data.

size

Return an int representing the number of elements in this object.

values

Return a Numpy representation of the DataFrame or the Series.

Methods