Skip to content

Commit 02fcdab

Browse files
committed
STY: cleanup formating
1 parent f29a3dc commit 02fcdab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/reshape/concat.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,13 +419,15 @@ def concat(
419419
or any(not isinstance(index, DatetimeIndex) for index in non_concat_axis)
420420
or all(
421421
prev is curr
422-
for prev, curr in zip(non_concat_axis, non_concat_axis[1:], strict=True)
422+
for prev, curr in zip(
423+
non_concat_axis, non_concat_axis[1:], strict=False
424+
)
423425
)
424426
or (
425427
all(
426428
prev[-1] <= curr[0] and prev.is_monotonic_increasing
427429
for prev, curr in zip(
428-
non_concat_axis, non_concat_axis[1:], strict=True
430+
non_concat_axis, non_concat_axis[1:], strict=False
429431
)
430432
if not prev.empty and not curr.empty
431433
)

0 commit comments

Comments
 (0)