I have a DataFrame with a column that contains strings. I would like to take all those strings, take only the nine first letters and save the resulting column of strings back into the DataFrame.
Since my next question is of the same spirit, I’ll post it here.
Let’s say I have a string of which I want to cut off x letters from the right. What comes before may vary in length, but the part on the right is always of the same length. How would I go about it?