pd.DataFrame.from_dict()..to_csv() code example Example: pandas to_csv delimiter df.to_csv('modified.txt', index=False, sep='\t')