I was able to calculate the mean, min and max of A:
import numpy as np
A = ['33.33', '33.33', '33.33', '33.37']
NA = np.asarray(A)
NA = NA.astype(float)
AVG = np.mean(NA, axis=0)
MN = np.min(NA, axis=0)
MX = np.max(NA, axis=0)
print AVG, MN, MX
What is the easiest way to save those results to a csv documento using python? I dont have one so it needs to be created.
If I use this:
np.savetxt('datasave.csv', (AVG,MN,MX), delimiter=',')
It will show as scientific notation in csv. How do I not get that but float?
fmrparameter ofsavetxt?