Skip to content

Commit f888baa

Browse files
committed
shift description to correct location
1 parent 72cb9da commit f888baa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/source/user_guide/merging.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -716,10 +716,6 @@ either the left or right tables, the values in the joined table will be
716716
717717
result = pd.merge(left, right, how='inner', on=['key1', 'key2'])
718718
719-
To join a Series with a MultiIndex and a DataFrame, using the levels of the
720-
MultiIndex and columns from the DataFrame, transform the Series to a DataFrame
721-
using :meth:`Series.reset_index`.
722-
723719
.. ipython:: python
724720
:suppress:
725721
@@ -728,6 +724,10 @@ using :meth:`Series.reset_index`.
728724
labels=['left', 'right'], vertical=False);
729725
plt.close('all');
730726
727+
To join a Series with a MultiIndex and a DataFrame, using the levels of the
728+
MultiIndex and columns from the DataFrame, transform the Series to a DataFrame
729+
using :meth:`Series.reset_index`.
730+
731731
.. ipython:: python
732732
733733
df = pd.DataFrame({"Let": ["A", "B", "C"], "Num": [1, 2, 3]})

0 commit comments

Comments
 (0)