In [1]:
import pandas as pd
In [2]:
df = pd.DataFrame([[1, 3], [2, 4]], columns=['A', 'B'])
df
Out[2]:
In [3]:
df2 = pd.DataFrame([[1, 5], [1, 6]], columns=['A', 'D'])
df2
Out[3]:
In [4]:
pd.concat([df, df2], axis=1)
Out[4]:
In [ ]: