I have a data frame similar to the one below:
Name Volume Value May21 23 21321 James 12 12311 Adi22 11 4435 Hello 34 32454 Girl90 56 654654
I want the result to be in the format:
Name Volume Value May 23 21321 James 12 12311 Adi 11 4435 Hello 34 32454 Girl 56 654654
Want to remove all numbers from the Name column.
The closest I came at the cell level with the following code:
result = ''.join([i for i in df['Name'][1] if not i.isdigit()])
Any idea how to do this better at the series / data level.
python string pandas
Mayank
source share