Skip to content

Commit 034903d

Browse files
committed
add note about pivot_table() enhancement in whatsnew. add PR reference to test
1 parent 3d1ed79 commit 034903d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/source/whatsnew/v0.18.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Other enhancements
152152
- ``Series`` gained an ``is_unique`` attribute (:issue:`11946`)
153153
- ``DataFrame.quantile`` and ``Series.quantile`` now accept ``interpolation`` keyword (:issue:`10174`).
154154
- ``DataFrame.select_dtypes`` now allows the ``np.float16`` typecode (:issue:`11990`)
155+
- ``pivot_table()`` now accepts most iterables for the ``values`` parameter (:issue:`12017`)
155156

156157
.. _whatsnew_0180.enhancements.rounding:
157158

pandas/tools/tests/test_pivot.py

+1
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ def test_pivot_dtaccessor(self):
737737
tm.assert_frame_equal(result, expected)
738738

739739
def test_pivot_table_with_iterator_values(self):
740+
# GH 12017
740741
aggs = {'D': 'sum', 'E': 'mean'}
741742

742743
pivot_values_list = pd.pivot_table(

0 commit comments

Comments
 (0)