create df colum empty code example Example: create an empty dataframe import pandas as pd df = pd.DataFrame(columns=['A','B','C','D','E','F','G'])