creating empty dataframe with column names in python code example Example: create empty pandas dataframe df = pd.DataFrame(columns=['a', 'b', 'c'])