Das Problem ist, dass Ihre Daten NaN enthalten Werte, also int wird automatisch in float umgewandelt .
Ich denke, Sie können Werbeaktionen vom Typ NA :
Typeclass Promotion dtype for storing NAs
floating no change
object no change
integer cast to float64
boolean cast to object