SeriesSchema.__init__(pandas_dtype=None, checks=None, index=None, nullable=False, allow_duplicates=True, coerce=False, name=None)[source]

Initialize series schema base object.

  • pandas_dtype (Union[str, type, PandasDtype, ExtensionDtype, dtype, None]) – datatype of the column. If a string is specified, then assumes one of the valid pandas string values:

  • checks (callable) –

    If element_wise is True, then callable signature should be:

    Callable[Any, bool] where the Any input is a scalar element in the column. Otherwise, the input is assumed to be a pandas.Series object.

  • index – specify the datatypes and properties of the index.

  • nullable (bool) – Whether or not column can contain null values.

  • allow_duplicates (bool) –