Performing String Manipulations
String manipulations are an important technique in data analysis and wrangling workflows. Your data may not be in the most organized format, or it may need extra tweaks to conduct further analysis. String manipulation techniques essentially allow us to extract meaningful information from strings or text data. There are several techniques available in Python Polars for performing string manipulations.
This chapter includes the following recipes:
- Filtering strings
- Converting strings into date, datetime, or time
- Extracting substrings
- Cleaning strings
- Splitting strings into lists and structs
- Concatenating and combining strings