table2 = pd.DataFrame([[333, 444, 222]], index=['D'], columns=['sample3',
    'sample4', 'sample2'])
cols_in_table1 = table2.columns[np.in1d(table2.columns, table1.columns)]
results = pd.concat((table1, table2[cols_in_table1]))
print(results)
Adding attribute from the different table with Pandas