Open jamespreed opened 9 months ago
Would you be able to do a git bisect
and see if this is a regression and has been introduced recently, or it's a bug that always been there?
This might be related: https://github.com/pydata/bottleneck/issues/164
Also you can check if this fixes your problem: https://github.com/pydata/bottleneck/pull/414
Would you be able to do a
git bisect
and see if this is a regression and has been introduced recently, or it's a bug that always been there?
I am really sorry, I don't know how to do that :(
When
bottlenecks
is installed in an environment with Pandas, it causes pandas to return an incorrect result for.std
on a constant array (it should return 0.0).To Reproduce First install pandas. The result is the same when using conda and pip.
Running the following code gives the expected result:
Now in the same environment, install bottleneck. It is the only additional package installed.
Running the same code gives an incorrect result:
Version info: Windows 11, Python 3.11, conda 23.5.2 Output from
conda list
:Additional context I additionall reported the bug in the Pandas github repo: https://github.com/pandas-dev/pandas/issues/57505