merge two df based on index 0,1,2 code example
Example 1: merge on row number python
pd.concat([T1,T2],axis=1)
Example 2: merge two columns name in one header pandas
df['A'] = df[a_cols].apply(' '.join, axis=1)
pd.concat([T1,T2],axis=1)
df['A'] = df[a_cols].apply(' '.join, axis=1)