pandera.engines.pandas_engine.BOOL.try_coerce¶ BOOL.try_coerce(data_container)[source]¶ Coerce data container to the data type, raises a ~pandera.errors.ParserError if the coercion fails Raises ParserError: if coercion fails Return type Union[Series, Index, DataFrame]