Dataframe : replace value and values around based on condition
I would like to create a filter to replace values in a dataframe column based on a condition and also the values around it. For exemple I would like to filter values and replace then with NaN if they are superior to 45 but also the value before and after it even if they are… Read More Dataframe : replace value and values around based on condition