Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

np array describe

>>> from scipy import stats
>>> a = np.arange(10)
>>> stats.describe(a)
DescribeResult(nobs=10, minmax=(0, 9), mean=4.5, variance=9.166666666666666,
               skewness=0.0, kurtosis=-1.2242424242424244)
>>> b = [[1, 2], [3, 4]]
>>> stats.describe(b)
DescribeResult(nobs=2, minmax=(array([1, 2]), array([3, 4])),
               mean=array([2., 3.]), variance=array([2., 2.]),
               skewness=array([0., 0.]), kurtosis=array([-2., -2.]))
Comment

PREVIOUS NEXT
Code Example
Python :: text to binary python 
Python :: python alphabet string 
Python :: how to manke a query in google api freebusy python 
Python :: how to clear checkbox in tkinter 
Python :: print nested list in new lines in python 
Python :: how to find exact distance 
Python :: python check if string is a float 
Python :: django text area limit characters 
Python :: write specific columns to csv pandas 
Python :: python list to string with spaces 
Python :: tkinter bold text 
Python :: python for loop m to n 
Python :: python transfer file 
Python :: standard module 
Python :: how to convert list into string in python 
Python :: python write requests response to text file 
Python :: is alphabet python 
Python :: python named tuple 
Python :: calcolatrice online 
Python :: python pyautogui screenshot 
Python :: how to set gui position tkinter python 
Python :: wtform custom validator example 
Python :: pygame doesnt dedect collision between sprite and image 
Python :: python check disk space 
Python :: pandas plot distribution 
Python :: normalize = true pandas 
Python :: how to get the year in python 
Python :: save strings with numpy savetext 
Python :: python opencv open camera 
Python :: run python script from c# 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =