Skip to content

Commit a2ce1c8

Browse files
committed
whatsnew
1 parent 4c09f3b commit a2ce1c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/source/whatsnew/v1.1.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,8 @@ Groupby/resample/rolling
932932
to the input DataFrame is inconsistent. An internal heuristic to detect index mutation would behave differently for equal but not identical
933933
indices. In particular, the result index shape might change if a copy of the input would be returned.
934934
The behaviour now is consistent, independent of internal heuristics. (:issue:`31612`, :issue:`14927`, :issue:`13056`)
935+
- Bug in :meth:`core.groupby.DataFrameGroupBy.quantile` raises ``TypeError`` for non-numeric types rather than dropping columns (:issue:`27892`)
936+
935937

936938
Reshaping
937939
^^^^^^^^^

pandas/core/groupby/groupby.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2509,7 +2509,7 @@ def _get_cythonized_result(
25092509
key = base.OutputKey(label=name, position=idx)
25102510
output[key] = result
25112511

2512-
# Note: we don't raise on an frame/series with no rows
2512+
# Check error_msg so we don't raise on an frame/series with no rows
25132513
if len(output) == 0 and error_msg != "":
25142514
raise TypeError(error_msg)
25152515

0 commit comments

Comments
 (0)