Hi Tyler,

In skimage, we noticed that the result of `stats.pearsonr` is now an array 
scalar:

In [5]: type(scipy.stats.pearsonr([1,2,3], [4,5,6]).statistic)
Out[5]: numpy.ndarray

The docstring still says `float`, so I presume the change was unintended and a 
result of NumPy 2.0.

Stéfan

On Tue, Mar 19, 2024, at 19:38, Tyler Reddy wrote:
> On behalf of the SciPy development team I'm pleased to announce the release 
> candidate
> SciPy 1.13.0rc1. Please help us test this pre-release.
_______________________________________________
SciPy-Dev mailing list -- scipy-dev@python.org
To unsubscribe send an email to scipy-dev-le...@python.org
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: arch...@mail-archive.com

Reply via email to