shizen_gengo
latest
  • About
  • Installation
  • API
    • Explore
      • Explore Utils
        • search
        • check_missing_values
    • Preprocess Dataframe
    • Preprocess Text
shizen_gengo
  • Docs »
  • API »
  • Explore »
  • search

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')
Next Previous

© Copyright 2020, Raoul Biagioni Revision abbd8ab8.

Built with Sphinx using a theme provided by Read the Docs.