search¶
-
search
(df, df_col='', tok='')¶ Search dataframe column and return rows that contain the specified token.
Parameters: - df – dataframe
- df_col – string
- tok – string
Returns: dataframe
Example
>>> from shizen_gengo.explore import explore_utils >>> df.col_name = explore_utils.search(df, 'col_name', 'keyword')