pd.Series.str.contains¶
pandas.Series.str.contains(pat, case=True, flags=0, na=None, regex=True)
Argument Restrictions:¶
pat: must be typeString.case: must be a compile time constant and must be typeBoolean.flags: must be typeInteger.na: only supports default valueNone.regex: must be a compile time constant and must be typeBoolean.
Note
Input must be a Series of String data.
Note
Argument na has default value None that's different than Pandas default.