pandera.schema_components.MultiIndex.coerce_dtype¶
- MultiIndex.coerce_dtype(obj)[source]¶
Coerce type of a pd.Series by type specified in dtype.
- Parameters
obj (
MultiIndex
) – multi-index to coerce.- Return type
- Returns
MultiIndex
with coerced data type