Issue 36314: Pivot_Table Docstring Error (original) (raw)

Issue36314

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:12 admin set github: 80495
2019-03-16 16:46:39 steven.daprano set nosy: + steven.dapranomessages: +
2019-03-16 10:58:44 SilentGhost set status: open -> closedresolution: third partystage: resolved
2019-03-16 10:53:16 xtreak set nosy: + xtreakmessages: +
2019-03-16 10:46:15 prakharb create