how to create an empty dataframe and append to it code example
Example 1: create empty pandas dataframe
df = pd.DataFrame(columns=['a', 'b', 'c'])
Example 2: append a dataframe to an empty dataframe
df = df.append(<dataframe_to_be_appended>)
df = pd.DataFrame(columns=['a', 'b', 'c'])
df = df.append(<dataframe_to_be_appended>)