GroupBy
The str.slice() method in Pandas has a number of variations that let you slice a string column in various ways.
str.slice()
Every Data Scientist Should know!