Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Cernek committed Jan 1, 2020
1 parent 11ec7d0 commit c238b50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/whatsnew/v1.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,14 @@ New repr for :class:`~pandas.arrays.IntervalArray`

.. ipython:: python
left_df = pd.DataFrame({"colors": ["blue", "red"]}, index = pd.Index([0, 1]))
right_df = pd.DataFrame({"hats": ["small", "big"]}, index = pd.Index([1, 0]))
left_df = pd.DataFrame({"colors": ["blue", "red"]}, index=pd.Index([0, 1]))
right_df = pd.DataFrame({"hats": ["small", "big"]}, index=pd.Index([1, 0]))
*pandas 0.25.x*

.. ipython:: python
left_df.merge(right_df, left_index=True, right_index=True, how="right")
colors hats
colors hats
0 blue big
1 red small
Expand Down

0 comments on commit c238b50

Please sign in to comment.