get descriptive statistics of numpy ndarray
问题 I use the following code to create a numpy-ndarray. The file has 9 columns. I explicitly type each column: dataset = np.genfromtxt("data.csv", delimiter=",",dtype=('|S1', float, float,float,float,float,float,float,int)) Now I would like to get some descriptive statistics for each column (min, max, stdev, mean, median, etc.). Shouldn't there be an easy way to do this? I tried this: from scipy import stats stats.describe(dataset) but this returns an error: TypeError: cannot perform reduce with