diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index ae0d916a30e586..d2ed37a9a4a284 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -180,14 +180,14 @@ Backwards incompatible API changes .. 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