pandas astype str still object code example
Example: pandas astype str still object
df['column'] = df['column'].astype('|S80') #where the max length is set at 80 bytes,
df['column'] = df['column'].astype('|S80') #where the max length is set at 80 bytes,