From 1c3e07d056e33b4cc51ceae340f9e2527e181b6f Mon Sep 17 00:00:00 2001 From: er-eis Date: Wed, 1 May 2024 19:22:14 -0400 Subject: [PATCH 1/2] DOC: remove concat dict sortedness statement --- pandas/core/reshape/concat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index d17e5b475ae57..ba98781ee589e 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -171,7 +171,7 @@ def concat( Parameters ---------- objs : an iterable or mapping of Series or DataFrame objects - If a mapping is passed, the sorted keys will be used as the `keys` + If a mapping is passed, the unsorted keys will be used as the `keys` argument, unless it is passed, in which case the values will be selected (see below). Any None objects will be dropped silently unless they are all None in which case a ValueError will be raised. From e0a58516a9c4e02e3a47d4fbe885ef8717cc7fef Mon Sep 17 00:00:00 2001 From: er-eis Date: Thu, 2 May 2024 12:07:46 -0400 Subject: [PATCH 2/2] DOC: simplify objs order comment --- pandas/core/reshape/concat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index ba98781ee589e..de6c5416e08c9 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -171,7 +171,7 @@ def concat( Parameters ---------- objs : an iterable or mapping of Series or DataFrame objects - If a mapping is passed, the unsorted keys will be used as the `keys` + If a mapping is passed, the keys will be used as the `keys` argument, unless it is passed, in which case the values will be selected (see below). Any None objects will be dropped silently unless they are all None in which case a ValueError will be raised.