How to replace str rather than substring in pandas
I have a column of School Name that contains both "Pri" and "Primary" (e.g. "XYZ Pri School", "DWQ Primary School") in a pandas dataframe. I would like to replace the string "Pri" with "Primary" in the column to standardise the school names such that it only contains the full form of the word "Primary" (e.g.… Read More How to replace str rather than substring in pandas