pandera.engines.polars_engine.DateΒΆ
- class pandera.engines.polars_engine.Date[source]ΒΆ
Polars date data type.
Attributes
auto_coerceWhether to force coerce to be True in all cases
continuousWhether the number data type is continuous.
Methods
- check(pandera_dtype, data_container=None)[source]ΒΆ
Check that pandera
DataTypeare equivalent.- Parameters:
pandera_dtype (
DataType) β ExpectedDataType.data_container (
Union[LazyFrame,PolarsData,None]) β Data container, used by data types that require the actual data for validation.
- Return type:
- Returns:
boolean scalar or iterable of boolean scalars, indicating which elements passed the check.