1>>> df = pd.DataFrame([[1, 2], [3, 4]], columns=list('AB'))
2>>> df
3 A B
40 1 2
51 3 4
6>>> df2 = pd.DataFrame([[5, 6], [7, 8]], columns=list('AB'))
7>>> df.append(df2)
8 A B
90 1 2
101 3 4
110 5 6
121 7 8
13
1df = pd.DataFrame({
2 'a':[1,2,3],
3 'b':[5,6,7]
4})
5
6df2 = pd.DataFrame({
7 'a':[11,12,13],
8 'b':[15,16,17]
9})
10
11df = df.append(df2, ignore_index = True )
12
13print(df)