12. String Function In Pandas
String Function In Pandas
CustomerID
FirstName
LastName
Address
Feedback
PhoneNumber
strip function
CustomerID
FirstName
LastName
Address
Feedback
PhoneNumber
lower / upper / swapcase / title / capitalize
len function
replace
split(expand=True)
0
1
contains()
startswith()
endswith()
string concatenation
indexing
slicing
Assignments
STRING FUNCTION ASSIGNMENTS
⭐ Basic Cleaning
1. Whitespace Cleanup
2. Case Standardization
⭐ Length & Validation Tasks
3. Character Count
4. Identify Invalid Phone Numbers
⭐ Replace Tasks
5. Address Cleaning
6. Remove Punctuation
7. Mask Phone Number
⭐ Split & Extract Tasks
8. Address Splitting
9. Extract City Initial
⭐ contains(), startswith(), endswith()
10. Filter on Feedback
11. Filter on Address
⭐ Concatenation Tasks
12. Full Name Creation
13. Create a Customer Code
⭐ Indexing & Slicing
14. Extract Codes
15. Reverse Manipulations
Last updated