pandera.dtypes.Float16¶
- class pandera.dtypes.Float16[source]¶
Semantic representation of a floating data type stored in 16 bits.
Attributes
auto_coerce
Whether to force coerce to be True in all cases
bit_width
Number of bits used by the machine representation.
continuous
Whether the number data type is continuous.
exact
Whether the data type is an exact representation of a number.
type
Methods
- check(pandera_dtype, data_container=None)[source]¶
Check that pandera
DataType
are equivalent.- Parameters:
- Return type:
- Returns:
boolean scalar or iterable of boolean scalars, indicating which elements passed the check.