create an empty pandas dataframe with column names code example
Example 1: blank dataframe with column names
df = pd.DataFrame(columns = column_names)
Example 2: create an empty dataframe
import pandas as pd
df = pd.DataFrame(columns=['A','B','C','D','E','F','G'])