pandera.api.dataframe.model_components.FieldΒΆ

pandera.api.dataframe.model_components.Field(*, eq=None, ne=None, gt=None, ge=None, lt=None, le=None, in_range=None, isin=None, notin=None, str_contains=None, str_endswith=None, str_length=None, str_matches=None, str_startswith=None, nullable=False, unique=False, coerce=False, regex=False, ignore_na=True, raise_warning=False, n_failure_cases=None, alias=None, check_name=None, dtype_kwargs=None, title=None, description=None, default=None, metadata=None, **kwargs)[source]ΒΆ

Column or index field specification of a DataFrameModel.

new in 0.5.0

Some arguments apply only to numeric dtypes and some apply only to str. See the User Guide for more information.

The keyword-only arguments for argument names eq to str_startswith are dispatched to the built-in Check methods if the value is a dictionary. If the value is a tuple, it is unpacked as positional arguments.

Parameters:
Return type:

Any