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