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