pandas create empty df of length code example Example: create empty pandas dataframe df = pd.DataFrame(columns=['a', 'b', 'c'])