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