diff --git a/doc/source/whatsnew/v0.14.0.rst b/doc/source/whatsnew/v0.14.0.rst index b8e7eae8de841..99fdf8653bd1c 100644 --- a/doc/source/whatsnew/v0.14.0.rst +++ b/doc/source/whatsnew/v0.14.0.rst @@ -506,7 +506,7 @@ See also issues (:issue:`6134`, :issue:`4036`, :issue:`3057`, :issue:`2598`, :is You should specify all axes in the ``.loc`` specifier, meaning the indexer for the **index** and for the **columns**. Their are some ambiguous cases where the passed indexer could be mis-interpreted - as indexing *both* axes, rather than into say the MuliIndex for the rows. + as indexing *both* axes, rather than into say the MultiIndex for the rows. You should do this: diff --git a/pandas/tests/frame/methods/test_sort_index.py b/pandas/tests/frame/methods/test_sort_index.py index a47a988da65c5..af55bc424d396 100644 --- a/pandas/tests/frame/methods/test_sort_index.py +++ b/pandas/tests/frame/methods/test_sort_index.py @@ -473,7 +473,7 @@ def test_respect_ignore_index(self, inplace, ignore_index): def test_sort_index_ignore_index_multi_index( self, inplace, original_dict, sorted_dict, ascending, ignore_index, output_index ): - # GH 30114, this is to test ignore_index on MulitIndex of index + # GH 30114, this is to test ignore_index on MultiIndex of index mi = MultiIndex.from_tuples([(2, 1), (3, 4)], names=list("AB")) df = DataFrame(original_dict, index=mi) expected_df = DataFrame(sorted_dict, index=output_index) diff --git a/pandas/tests/io/formats/style/test_style.py b/pandas/tests/io/formats/style/test_style.py index 0387f317c5c0d..0abe4b82e8848 100644 --- a/pandas/tests/io/formats/style/test_style.py +++ b/pandas/tests/io/formats/style/test_style.py @@ -1152,7 +1152,7 @@ def test_hide_columns_single_level(self, df): assert not ctx["body"][0][1]["is_visible"] # col A, row 1 assert ctx["body"][1][2]["is_visible"] # col B, row 1 - # test hiding mulitiple columns + # test hiding multiple columns ctx = df.style.hide(["A", "B"], axis="columns")._translate(True, True) assert not ctx["head"][0][1]["is_visible"] assert not ctx["head"][0][2]["is_visible"]