Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankarlos committed Feb 18, 2020
1 parent 6e3dd31 commit ef40b6d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/source/user_guide/merging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -733,10 +733,12 @@ using :meth:`Series.reset_index`.
df = pd.DataFrame({"Let": ["A", "B", "C"], "Num": [1, 2, 3]})
df
# The series has a multi-index with levels corresponding to columns in the DataFrame we want to merge with
# The series has a multi-index with levels corresponding to columns in
the DataFrame we want to merge with
ser = pd.Series(
['a', 'b', 'c', 'd', 'e', 'f'],
index=pd.MultiIndex.from_arrays([["A", "B", "C"] * 2, [1, 2, 3, 4, 5, 6]], names=['Let', 'Num'])
index=pd.MultiIndex.from_arrays([["A", "B", "C"] * 2,
[1, 2, 3, 4, 5, 6]], names=['Let', 'Num'])
)
ser
Expand Down

0 comments on commit ef40b6d

Please sign in to comment.