[Pandas-dev] Pandas astype() changes the class type