pandera.typing.FieldType¶
- class pandera.typing.FieldType(*args: Any, **kwargs: Any)[source]¶
Typing-only descriptor for a
DataFrameModelfield.FieldType[T]describes the dtype consumed by Pandera’s runtime model parser while modeling class-level access as the field name. A backendpa.Field(...)object may be supplied as additional metadata, or as the assigned value of the field.The additional type parameters are intentionally variadic so that the runtime parser can accept field metadata without requiring a second type parameter when no metadata is present.
Methods