Skip to content

Commit a99136e

Browse files
pep
1 parent 26319b6 commit a99136e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/indexing/test_loc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,10 +2881,10 @@ def test_loc_set_int_dtype():
28812881

28822882
def test_loc_periodindex_3_levels():
28832883
# GH#24091
2884-
p_index = PeriodIndex(["20181101 1100", "20181101 1200", "20181102 1300", "20181102 1400"],
2885-
name='datetime', freq="B")
2884+
p_index = PeriodIndex(["20181101 1100", "20181101 1200", "20181102 1300",
2885+
"20181102 1400"], name='datetime', freq="B")
28862886
mi_series = DataFrame([["A", "B", 1.0], ["A", "C", 2.0], ["Z", "Q", 3.0],
2887-
["W", "F", 4.0]], index=p_index, columns=["ONE", "TWO", "VALUES"])
2887+
["W", "F", 4.0]], index=p_index, columns=["ONE", "TWO", "VALUES"])
28882888
mi_series = mi_series.set_index(["ONE", "TWO"], append=True)["VALUES"]
28892889
assert mi_series.loc[(p_index[0], "A", "B")] == 1.0
28902890

0 commit comments

Comments
 (0)