pandera.engines.xarray_engine.DataTypeΒΆ
- class pandera.engines.xarray_engine.DataType(dtype)[source]ΒΆ
xarray-compatible data type.
Delegates to numpy_engine for dtype resolution since xarray arrays are typically backed by NumPy or duck arrays with NumPy-like dtypes.
Attributes
auto_coerceWhether to force coerce to be True in all cases
continuousWhether the number data type is continuous.
typeNative numpy dtype boxed by the data type.
Methods
- check(pandera_dtype, data_container=None)[source]ΒΆ
Check if the DataArray dtype matches.
- Return type: