Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to calculate z score in python

a = np.array([ 0.7972,  0.0767,  0.4383,  0.7866,  0.8091,
               0.1954,  0.6307,  0.6599,  0.1065,  0.0508])
from scipy import stats
stats.zscore(a)
array([ 1.1273, -1.247 , -0.0552,  1.0923,  1.1664, -0.8559,  0.5786,
        0.6748, -1.1488, -1.3324])
Comment

PREVIOUS NEXT
Code Example
Python :: networkx draw graph with weight 
Python :: print column in pandas 
Python :: to_csv create folder 
Python :: import get_object_or_404 
Python :: add column to existing numpy array 
Python :: del all variables python 
Python :: python gui drag and drop 
Python :: count characters in string python 
Python :: how to make a def in python 
Python :: python rdp server 
Python :: python acf and pacf code 
Python :: generate random token or id in django 
Python :: discord py fetch channel by id 
Python :: heatmap of pandas dataframe with seaborn 
Python :: whatsapp online tracker python script 
Python :: np where nan 
Python :: wintp python manage.py createsuperuser 
Python :: convert list to numpy array 
Python :: how to get the author on discord.py 
Python :: virtual env python 2 
Python :: python typing effect 
Python :: check if variable is of type decimal.Decimal python 
Python :: multiple boxplots python 
Python :: numpy remove columns containing nan 
Python :: python random geneator 
Python :: merge subplot matplotlib 
Python :: How To Display A Background Image With Tkinter 
Python :: cumulative percentaile pandas 
Python :: python json check if key exists 
Python :: python split paragraph 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =