noring nan values. Default is 'propagate'. alternative : {'two-sided', 'less', 'greater'}, optional Defines the alternative hypothesis. Default is 'two-sided'. The following options are available: * 'two-sided': the correlation is nonzero * 'less': the correlation is negative (less than zero) * 'greater': the correlation is positive (greater than zero) .. versionadded:: 1.7.0 Returns ------- res : SignificanceResult An object containing attributes: statistic : float or ndarray (2-D square) Spearman correlation matrix or correlation coefficient (if only 2 variables are given as parameters). Correlation matrix is square with length equal to total number of variables (columns or rows) in ``a`` and ``b`` combined. pvalue : float The p-value for a hypothesis test whose null hypothesis is that two sets of data are linearly uncorrelated. See `alternative` above for alternative hypotheses. `pvalue` has the same shape as `statistic`. References ---------- [CRCProbStat2000] section 14.7 z3`use_ties=False` is not supported in SciPy >= 1.2.0Nr<