FutureWarning: Downcasting behavior in replace is deprecated and will be removed in a future version. To retain the old behavior, explicitly call result.infer_objects(copy=False). To opt-in to the
future behavior, set pd.set_option('future.no_silent_downcasting', True)
Not a major issue at the moment. But requires a fix for future changes.
FutureWarning: Downcasting behavior in
replaceis deprecated and will be removed in a future version. To retain the old behavior, explicitly callresult.infer_objects(copy=False). To opt-in to thefuture behavior, set
pd.set_option('future.no_silent_downcasting', True)Not a major issue at the moment. But requires a fix for future changes.