Problem polega na tym, że Twoje dane zawierają NaN wartości, więc int jest automatycznie przesyłany do float .
Myślę, że możesz sprawdzić promocje typu NA :
Typeclass Promotion dtype for storing NAs
floating no change
object no change
integer cast to float64
boolean cast to object