@@ -264,7 +264,7 @@ def test_loc_multiindex_incomplete(self):
264264 tm .assert_series_equal (result , expected )
265265
266266 # GH 7400
267- # multiindexer gettitem with list of indexers skips wrong element
267+ # multiindexer getitem with list of indexers skips wrong element
268268 s = Series (
269269 np .arange (15 , dtype = "int64" ),
270270 MultiIndex .from_product ([range (5 ), ["a" , "b" , "c" ]]),
@@ -385,7 +385,7 @@ def test_multiindex_setitem_columns_enlarging(self, indexer, exp_value):
385385 [
386386 ([], []), # empty ok
387387 (["A" ], slice (3 )),
388- (["A" , "D" ], []), # "D" isnt present -> raise
388+ (["A" , "D" ], []), # "D" isn't present -> raise
389389 (["D" , "E" ], []), # no values found -> raise
390390 (["D" ], []), # same, with single item list: GH 27148
391391 (pd .IndexSlice [:, ["foo" ]], slice (2 , None , 3 )),
@@ -531,7 +531,7 @@ def test_loc_period_string_indexing():
531531 # GH 9892
532532 a = pd .period_range ("2013Q1" , "2013Q4" , freq = "Q" )
533533 i = (1111 , 2222 , 3333 )
534- idx = MultiIndex .from_product ((a , i ), names = ("Periode " , "CVR" ))
534+ idx = MultiIndex .from_product ((a , i ), names = ("Period " , "CVR" ))
535535 df = DataFrame (
536536 index = idx ,
537537 columns = (
@@ -552,7 +552,7 @@ def test_loc_period_string_indexing():
552552 dtype = object ,
553553 name = "OMS" ,
554554 index = MultiIndex .from_tuples (
555- [(pd .Period ("2013Q1" ), 1111 )], names = ["Periode " , "CVR" ]
555+ [(pd .Period ("2013Q1" ), 1111 )], names = ["Period " , "CVR" ]
556556 ),
557557 )
558558 tm .assert_series_equal (result , expected )
0 commit comments