I have a pandas df looking like this: df image
The row I want to impute values for has "-" instead of values and I want these to be replaced with the mean of the values in the row above and below.
Does anyone know how to do that?
Thank you all!
I have a pandas df looking like this: df image
The row I want to impute values for has "-" instead of values and I want these to be replaced with the mean of the values in the row above and below.
Does anyone know how to do that?
Thank you all!