Python - RemoveMpy Space in a Cell

data = pd.DataFrame({'values': ['   ABC   ', '   DEF', '  GHI  ']})
      values
0     ABC   
1        DEF
2      GHI  

data['values'].str.strip()
0    ABC
1    DEF
2    GHI
Andrea Perlato