Missing values#
The canonical missing-value test and the recommended fill values, as defined by the convention and explained in the missing values chapter.
- h5col.recommended_fill(dtype: Any) Any[source]#
Return H5Col’s recommended fill value for dtype.
Fixed- or variable-length string dtypes →
b"".Enumerations with a
MISSINGmember → the integer code of that member (the spec’s enum fill convention).Enumerations without a
MISSINGmember, including the H5Col boolean datatype (which MUST NOT declare a fill value at all) → raises.Integer and float families → the table sentinel.
Anything else (e.g.
float16) → raisesFillValueError.