Search⌘ K
AI Features

Converting Strings to Upper and Lower Case

Explore how to manipulate string case in Pandas data columns to standardize and prepare data for analysis. Understand using str accessor methods such as upper, lower, and capitalize for efficient column-wise text transformations.

We'll cover the following...

Upper and lower case

Python is case-sensitive. This means that we need to have the strings in standard format in order to perform analysis on them. Thankfully, it’s quite simple to change a string’s case in Pandas.

The names in our staff have both upper and lower case letters. Let’s ...