So konvertieren Sie den Datenrahmen in Text
np.savetxt(r'c:\data\np.txt', df.values, fmt='%d', delimiter='\t')
Dizzy Donkey
np.savetxt(r'c:\data\np.txt', df.values, fmt='%d', delimiter='\t')
You can use pandas.DataFrame.to_csv(), and setting both index and header to False: