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