How can I outer merge two data frames in place in pandas?
For example, assume we have these two data frames:
import pandas as pd s1 = pd.DataFrame({
Since there is not inplace parameter in pandas.merge i think the most you can do is:
inplace
s1 = pd.merge(s1,s2,how='outer')
other than that, i don't think there's much left to do. Hope that was helpful somehow.