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
TReturn the transpose, which is by definition self.
arrayThe ExtensionArray of the data backing this Series or Index.
atAccess a single value for a row/column label pair.
attrsDictionary of global attributes of this dataset.
axesReturn a list of the row axis labels.
default_dtypedtypeReturn the dtype object of the underlying data.
dtypesReturn the dtype object of the underlying data.
emptyIndicator whether Series/DataFrame is empty.
flagsGet the properties associated with this pandas object.
hasnansReturn True if there are any NaNs.
iatAccess a single value for a row/column pair by integer position.
ilocPurely integer-location based indexing for selection by position.
indexThe index (axis labels) of the Series.
is_monotonic_decreasingReturn boolean if values in the object are monotonically decreasing.
is_monotonic_increasingReturn boolean if values in the object are monotonically increasing.
is_uniqueReturn boolean if values in the object are unique.
locAccess a group of rows and columns by label(s) or a boolean array.
nameReturn the name of the Series.
nbytesReturn the number of bytes in the underlying data.
ndimNumber of dimensions of the underlying data, by definition 1.
shapeReturn a tuple of the shape of the underlying data.
sizeReturn the number of elements in the underlying data.
valuesReturn Series as ndarray or ndarray-like depending on the dtype.
Methods