creating an empty pd dataframe code example
Example 1: initialize pandas dataframe with column names
column_names = ["a", "b", "c"]
df = pd.DataFrame(columns = column_names)
Example 2: create empty pandas dataframe
df = pd.DataFrame(columns=['a', 'b', 'c'])