# add a row to the dataframe A = ['1', 'd', 'p', 'bab', ''] df = pd.DataFrame([A]) print (df) 0 1 2 3 4 0 1 d p bab