Skip to content

Commit f4d246f

Browse files
committed
linting
1 parent f888baa commit f4d246f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/source/user_guide/merging.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -733,11 +733,11 @@ using :meth:`Series.reset_index`.
733733
df = pd.DataFrame({"Let": ["A", "B", "C"], "Num": [1, 2, 3]})
734734
df
735735
736-
# The series has a multi-index with levels corresponding to columns in the DataFrame we want to merge with
737-
ser = pd.Series(
738-
['a', 'b', 'c', 'd', 'e', 'f'],
739-
index=pd.MultiIndex.from_arrays([["A", "B", "C"] * 2, [1, 2, 3, 4, 5, 6]], names=['Let', 'Num']
740-
)
736+
# The series has a multi-index with levels corresponding to columns in
737+
# the DataFrame we want to merge with
738+
ser = pd.Series(['a', 'b', 'c', 'd', 'e', 'f'],
739+
index=pd.MultiIndex.from_arrays([["A", "B", "C"] * 2,
740+
[1, 2, 3, 4, 5, 6]], names=['Let', 'Num']))
741741
ser
742742
743743
# Convert the Series to a DataFrame and merge

0 commit comments

Comments
 (0)