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: Pivot_Table Docstring Error
Type: enhancement Stage: resolved
Components: Versions: Python 3.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: prakharb, steven.daprano, xtreak
Priority: normal Keywords:

Created on 2019-03-16 10:46 by prakharb, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Screenshot 2019-03-16 at 4.15.25 PM.png prakharb, 2019-03-16 10:46
Messages (3)
msg338077 - (view) Author: Prakhar (prakharb) Date: 2019-03-16 10:46
In the docstring of Pivot_table,np.median function should be used instead of np.mean.

File attached for reference.
msg338078 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-03-16 10:53
By np I hope you mean numpy which is not a part of CPython and also pivot_table is part of pandas and could get a better resolution reporting on their repo.
msg338087 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2019-03-16 16:46
Prakhar, for future reference, please don't submit unnecessary screenshots to report bugs. Screen shots are hostile to the blind or visually impaired, who may be reading this with a screen-reader, and they make it impossible for us to copy your code to run it.

In future, please copy and paste the sample code and exception, as text, not as a picture.
History
Date User Action Args
2022-04-11 14:59:12adminsetgithub: 80495
2019-03-16 16:46:39steven.dapranosetnosy: + steven.daprano
messages: + msg338087
2019-03-16 10:58:44SilentGhostsetstatus: open -> closed
resolution: third party
stage: resolved
2019-03-16 10:53:16xtreaksetnosy: + xtreak
messages: + msg338078
2019-03-16 10:46:15prakharbcreate