Pandas 2.1.0 warning ''The 'method' keyword in Series.replace is deprecated and will be removed in a future version''
Advertisements I have a pandas line of code that gives me a future deprecation warning as stated in the title and I can’t find in the pandas documentation how to modify it in order to remove the warning. The line of code is the following: df[‘temp_open’]=df[‘temp_open’].replace(”,method=’ffill’) Any help would be greatly appreciated. I tried to… Read More Pandas 2.1.0 warning ''The 'method' keyword in Series.replace is deprecated and will be removed in a future version''