What do quantile and var() functions do ?
The quantile() function returns the values at the given quantiles over requested axis (axis 0 or 1). On the other hand, var() function computes variance and returns the unbiased variance over the requested axis.
quantile()
var()