This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Bug in Python 3.7.10
Type: behavior Stage: resolved
Components: Versions: Python 3.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: prakashvm, steven.daprano
Priority: normal Keywords:

Created on 2021-07-13 10:48 by prakashvm, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Bug in Python.pdf prakashvm, 2021-07-13 10:48
Messages (2)
msg397390 - (view) Author: Prakash (prakashvm) Date: 2021-07-13 10:48
Hello -

I wish to bring to your kind notice a bug in Python.

Given any matrix X. While trying to compute the CoVariance matrix of that matrix X, Python does NOT compute the CoVarianceof the given matrix X.

Instead, Python comptes the CoVariance of the Transpose of the given matrix X.

This appears to be a bug in Python.

Please refer to the below website for a given matrix and what the result should be after the computation of it's CoVariance. And I have provided a screenshot of what Python is returning.

https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc541.htm


Please let me know if you have any questions.



Regards,
Prakash
msg397391 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2021-07-13 10:52
numpy is a third-party library, you will have to report it to them, we can't do anything about it.
History
Date User Action Args
2022-04-11 14:59:47adminsetgithub: 88785
2021-07-13 10:52:10steven.dapranosetstatus: open -> closed

nosy: + steven.daprano
messages: + msg397391

resolution: third party
stage: resolved
2021-07-13 10:48:49prakashvmcreate