I have a column in pandas data frame like the one shown below;
LGA
Alpine (S)
Ararat (RC)
Ballarat (C)
Banyule (C)
Bass Coast (S)
Baw Baw (S)
Bayside (C)
Benalla (RC)
Boroondara (C)
What I want to do, is to remove all the special characters from the ending of each row. ie. (S), (RC).
Desired output should be;
LGA
Alpine
Ararat
Ballarat
Banyule
Bass Coast
Baw Baw
Bayside
Benalla
Boroondara
I am not quite sure how to get desired output mentioned above.
Any help would be appreciated.
Thanks