to text pandas code example Example: to text pandas You can use pandas.DataFrame.to_csv(), and setting both index and header to False: