Skip to content
RED SAGSkills
medium10 pts · first answer countspythonpandasdata-cleaning

Converting a column with NaN to integers

df["age"] has a few missing values. df["age"].astype(int) raises an error. What keeps the missing values and gives whole numbers?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions