from scipy.stats import norm
norm.ppf(0.95,loc=0,scale=1)
from scipy.stats import f
f.ppf(0.95,dfn=1,dfd=4) #dfn: degree of freedom numerator
from scipy.stats import norm
norm.ppf(0.95,loc=0,scale=1)
from scipy.stats import f
f.ppf(0.95,dfn=1,dfd=4) #dfn: degree of freedom numerator