Tidying Text with .str

Text that people type differs in spaces and capital letters, so the same name fails to match itself; the .str tools strip, lower and title tidy a whole column at once, and len, contains and startswith test every value so you can find the ones that look wrong.

By

Updated

Cheat sheet: Tidying Text with .str
Category
Data Analysis
Level
Apprentice
Tags
python, str accessor, strip() (python), upper() and lower() (python), Whitespace (python)