Skip to content

Commit c9e78a7

Browse files
format
1 parent 78ccf15 commit c9e78a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexing/test_loc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ def test_loc_setitem_multiindex_slice(self):
17471747
)
17481748

17491749
result = Series([1, 1, 1, 1, 1, 1, 1, 1], index=index)
1750-
result.loc[("baz", "one"):("foo", "two")] = 100
1750+
result.loc[("baz", "one") : ("foo", "two")] = 100
17511751

17521752
expected = Series([1, 1, 100, 100, 100, 100, 1, 1], index=index)
17531753

@@ -2764,7 +2764,7 @@ def test_loc_axis_1_slice():
27642764
index=tuple("ABCDEFGHIJ"),
27652765
columns=MultiIndex.from_tuples(cols),
27662766
)
2767-
result = df.loc(axis=1)[(2014, 9):(2015, 8)]
2767+
result = df.loc(axis=1)[(2014, 9) : (2015, 8)]
27682768
expected = DataFrame(
27692769
np.ones((10, 4)),
27702770
index=tuple("ABCDEFGHIJ"),

0 commit comments

Comments
 (0)