shizen_gengo
latest
About
Installation
API
Explore
Preprocess Dataframe
Preprocess Text
Preprocess Text Utils
remove_newline_chars
remove_digits
remove_non_char
custom_replace
remove_url
remove_email
remove_consecutive_spaces
remove_stopwords
remove_accented_chars
remove_punctuation
remove_repeating_letters
clean_text
shizen_gengo
Docs
»
API
»
Preprocess Text
»
custom_replace
custom_replace
¶
custom_replace
(
df_col
,
change_from=''
,
change_to=''
)
¶
Replace tokens.
Parameters:
df_col
– a single dataframe column <class ‘pandas.core.series.Series’>
change_from
– string
change_to
– string
Returns:
a single dataframe column <class ‘pandas.core.series.Series’>
Read the Docs
v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.