cara mengonversi basis data menjadi teks
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: