KxSystems / pykx

PyKX is a Python first interface to the worlds fastest time-series database kdb+ and it's underlying vector programming language q.
https://code.kx.com/pykx
Other
44 stars 10 forks source link

Pandas .std() method returns incorrect values in edge cases #28

Closed jbetz34 closed 2 days ago

jbetz34 commented 1 month ago

Describe the bug Several edge cases cause the .std() method to fail

To Reproduce Unzip attachment, run the attached jupyter notebook. pykx_std_tests.zip

Notebook will walk thru each edge case, compare to the expected behavior and provide potential solution

Desktop (please complete the following information):

cmccarthy1 commented 1 month ago

Hi @jbetz34 thanks for highlighting this, we'll take a look at this and aim to include updates in a patch release

cmccarthy1 commented 2 days ago

Hi @jbetz34

Today we released PyKX 2.5.2, this includes fixes for the issues highlighted in your notebook for which we are extremely grateful.

Thanks for raising awareness of these edge-cases.

Conor