Skip to content

Commit b81149b

Browse files
committed
Fixes #24893: flake8
1 parent 7f2c8df commit b81149b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/reshape/pivot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ def _add_margins(
254254
try:
255255
for dtype in set(result.dtypes):
256256
cols = result.select_dtypes([dtype]).columns
257-
margin_dummy[cols] = margin_dummy[cols].apply(maybe_downcast_to_dtype, args=(dtype,))
257+
margin_dummy[cols] = margin_dummy[cols].apply(maybe_downcast_to_dtype,
258+
args=(dtype,))
258259
result = result.append(margin_dummy)
259260
except TypeError:
260261

0 commit comments

Comments
 (0)