We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f29a3dc commit 02fcdabCopy full SHA for 02fcdab
pandas/core/reshape/concat.py
@@ -419,13 +419,15 @@ def concat(
419
or any(not isinstance(index, DatetimeIndex) for index in non_concat_axis)
420
or all(
421
prev is curr
422
- for prev, curr in zip(non_concat_axis, non_concat_axis[1:], strict=True)
+ for prev, curr in zip(
423
+ non_concat_axis, non_concat_axis[1:], strict=False
424
+ )
425
)
426
or (
427
all(
428
prev[-1] <= curr[0] and prev.is_monotonic_increasing
429
for prev, curr in zip(
- non_concat_axis, non_concat_axis[1:], strict=True
430
431
432
if not prev.empty and not curr.empty
433
0 commit comments