Skip to content

Commit 3386d01

Browse files
Add strict= to zip() in pandas/core/arrays/base.py
1 parent e97a56e commit 3386d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2848,7 +2848,7 @@ def _maybe_convert(arr):
28482848
return res
28492849

28502850
if op.__name__ in {"divmod", "rdivmod"}:
2851-
a, b = zip(*res)
2851+
a, b = zip(*res,strict=True)
28522852
return _maybe_convert(a), _maybe_convert(b)
28532853

28542854
return _maybe_convert(res)

0 commit comments

Comments
 (0)