Sorry for the beginner-friendly question, but this code does not work for me and I can't find out why. It runs without errors, but it does not fill the values.
data['date'] = data['date'].replace(np.nan, '22.02.2021')
I tried using "fillna" function like this:
data['date'].fillna('22.02.2021', inplace=True)
but it gives error and says that fill value must be in categories.