Skip to content

Commit 794788d

Browse files
committed
Cleaned up comment
1 parent 5a1375a commit 794788d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/groupby.py

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

2517-
# Check error_msg so we don't raise on an frame/series with no rows
2517+
# error_msg is "" on an frame/series with no rows or columns
25182518
if len(output) == 0 and error_msg != "":
25192519
raise TypeError(error_msg)
25202520

0 commit comments

Comments
 (0)