pandas.api.types.is_re_compilable
pandas 3.1.1 · Arrays, scalars, and data types · function
Check whether the input can be compiled as a regular expression.
Call syntax
pd.api.types.is_re_compilable(obj)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
obj |
Required Positional or keyword |
The object to check Provide the pandas object, scalar, or array-like input described in the accepted values. |
Returns
bool