From 1b32c345e84fa2dcba050d8a83b1cd6f630a6ec6 Mon Sep 17 00:00:00 2001 From: Tejas Rajput Date: Sun, 12 May 2024 17:31:07 +0000 Subject: [PATCH] There was a typo in user_guide doc ,particulary in documentation of merge,join ,concatenate and compare which after fixing is more grmatically correct and making more sense now --- doc/source/user_guide/merging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/merging.rst b/doc/source/user_guide/merging.rst index 1edf3908936db..f38305d07d309 100644 --- a/doc/source/user_guide/merging.rst +++ b/doc/source/user_guide/merging.rst @@ -484,7 +484,7 @@ either the left or right tables, the values in the joined table will be p.plot([left, right], result, labels=["left", "right"], vertical=False); plt.close("all"); -You can :class:`Series` and a :class:`DataFrame` with a :class:`MultiIndex` if the names of +You can merge :class:`Series` and a :class:`DataFrame` with a :class:`MultiIndex` if the names of the :class:`MultiIndex` correspond to the columns from the :class:`DataFrame`. Transform the :class:`Series` to a :class:`DataFrame` using :meth:`Series.reset_index` before merging