how to change object to string in pandas code example Example: object to string pandas df['column name'] = df['column name'].astype(str)