Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fd1ec04

Browse files
committedApr 19, 2025
modified: pandas/core/reshape/pivot.py
- Removed comment about explicit aggregation per feedback.
1 parent 618f638 commit fd1ec04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎pandas/core/reshape/pivot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ def __internal_pivot_table(
338338
grouped = data.groupby(keys, observed=observed, sort=sort, dropna=dropna)
339339
if values_passed:
340340
# GH#57876 and GH#61292
341-
# Explicitly aggregate ``values``.
342341
# mypy is not aware `grouped[values]` will always be a DataFrameGroupBy
343342
grouped = grouped[values] # type: ignore[assignment]
344343

0 commit comments

Comments
 (0)
Please sign in to comment.