Type de données basé sur les lignes

df['datatype'] = df['column'].apply(lambda x: 'int' if type(x) == int else 'str')
Anil Özkan