Pandas verbinden zwei Spalten
df['FullName'] = df[['First_Name', 'Last_Name']].agg('-'.join, axis=1)
Beautiful Booby
df['FullName'] = df[['First_Name', 'Last_Name']].agg('-'.join, axis=1)
# df1 as main df and use the feild from df2 and map it into df1
df1.merge(df2,on='columnName',how='left')
#suppose you have two dataframes df1 and df2, and
#you need to merge them along the column id
df_merge_col = pd.merge(df1, df2, on='id')
import pandas as pd
T1 = pd.merge(T1, T2, on=T1.index, how='outer')
df["period"] = df["Year"] + df["quarter"]
df['A'] = df[a_cols].apply(' '.join, axis=1)