description: add new column to a dataframe
initial data
1 | a = pandas.DataFrame({'a':[1,2,3]}) |
1 | b = pandas.DataFrame({'b':[2,4,6]}) |
1 | c = pandas.DataFrame({'c':[1,2,3,4,5]}) |
concat the same length
1 | pandas.concat([a,b], axis=1) |
concat different length
1 | pandas.concat([a,c], axis=1) |