How To Modify A Substring From A Column In Python

How To Modify A Substring From A Column In Python