So ändern Sie das DTYPE -Objekt in int int

df['purchase'].astype(int)
Impossible Iguana