Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python numpy kurtosis

from scipy.stats import kurtosis
# list containing numbers only
l = [1.8, 2, 1.2, 1.5, 1.6, 2.1, 2.8]
# switch to numpy array
v = np.array(l)
k = kurtosis(v) # ~ -0.25
Comment

PREVIOUS NEXT
Code Example
Python :: print all of dataframe 
Python :: pandas change every row to df 
Python :: write file with python 
Python :: python iterate over multidimensional dictionary 
Python :: access-control-allow-origin django 
Python :: reset index pandas 
Python :: python element wise multiplication list 
Python :: enumerate in python 
Python :: pyperclip 
Python :: selenium scroll down python 
Python :: use of // in python 
Python :: pandas replace column name from a dictionary 
Python :: what is wsgi in python 
Python :: how to write a numpy array to a file in python 
Python :: encode labels in scikit learn 
Python :: how to draw shape square in python turtle 
Python :: add headers tp requests python 
Python :: generate random list of number py 
Python :: How to Add R to Jupyter Notebook 
Python :: python requests cookies 
Python :: discord get username slash command 
Python :: turn list of tuples into list 
Python :: pip install specific version 
Python :: open mat python 
Python :: python counter least common 
Python :: order dictionary by value python 
Python :: base64 python decode 
Python :: jupyter notebook not showing all columns 
Python :: how to get all folders on path in python 
Python :: compute eigenvalue python 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =