pandas append index ignore

Solutions on MaxInterview for pandas append index ignore by the best coders in the world

showing results for - "pandas append index ignore"
Maissane
07 Apr 2016
1>>> df = pd.DataFrame([[1, 2], [3, 4]], columns=list('AB'))
2>>> df2 = pd.DataFrame([[5, 6], [7, 8]], columns=list('AB'))
3>>> df.append(df2, ignore_index=True)
4   A  B
50  1  2
61  3  4
72  5  6
83  7  8