convert dataframe value to string python code example Example: change value to string pandas mtrx['X.3'] = mtrx['X.3'].astype(str)