Some basic experiments with the pandas' append command
Understanding Commands: pandas.append() Basic Usage >>> import pandas as pd >>> df = pd.DataFrame([[1, 2], [3, 4]], columns=list('AB'), index=['x', 'y']) >>> df2 = pd.DataFrame([[5, 6], [7, 8]], columns=list('AB'), index=['x', 'y']) >>> df.append(df2) A B x 1 2 y 3 4 x 5 6 y 7 8 >>> df A B x 1 2 y 3 4 >>> new = df.append(df2) >>> new A B x 1 2 y 3 4 x 5 6 y 7 8 >>> df A B x 1 2 y 3 4 >>> df2 A B x 5 6 y 7 8 >>> new....