* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
640 B
640 B
strip, replace, split
strip() removes leading and trailing whitespace from a string. replace() substitutes one substring with another. split() divides a string into a list based on a delimiter. These three methods are among the most used for basic text cleaning, applied either to Python strings directly or through the Pandas .str accessor on a column.
Visit the following resources to learn more: