Aug-22-2020, 08:44 PM
Hello to everyone,
I have a panda dataframe with many columns, one of them contains the ages of clients but when the age is unknown, I have ?. I'd like to replace the ? by 0. In index 15, the age is unknown.
I have a panda dataframe with many columns, one of them contains the ages of clients but when the age is unknown, I have ?. I'd like to replace the ? by 0. In index 15, the age is unknown.
test.fillna(value={"age": 0}).age.head(16)test is the name of my dataframe and i'm displaying the first seventeenth values, i don't have an error message but nothing changes and ? is still in index 15. Do you know why?