Posted under » Python Data Analysis on 20 Mar 2025
Earlier, you learn how to use output.
If you have pandoc you can export pandas df to excel or csv by
df.to_excel("rumm_anla.xl ") df.to_csv('ch06/out.csv')
You can then Read the data to your df
Numpy has its own data save format.
np.save('aik', np.array([[1, 2, 3], [4, 5, 6]])) np.load('aik.npy')
If you have text, you will need to allow pickle
y = np.load('aik.npy',allow_pickle=True)
It will create a file with the npy extension. Best to save it to a temp folder.