Skip to content

Commit 5183937

Browse files
committed
black formatting
1 parent c3671e8 commit 5183937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexing/test_iloc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -708,9 +708,9 @@ def test_iloc_setitem_categorical_updates_inplace(self):
708708
def test_iloc_setitem_frame_no_alignment(self):
709709
# GH 22046
710710
# setting with iloc should not align labels
711-
df = pd.DataFrame({'a': [1, 2], 'b': [2, 3]}, index=[2, 1])
711+
df = pd.DataFrame({"a": [1, 2], "b": [2, 3]}, index=[2, 1])
712712
expected = df.copy()
713-
df2 = pd.DataFrame({'b': [1, 2], 'a': [2, 3]}, index=[1, 2])
713+
df2 = pd.DataFrame({"b": [1, 2], "a": [2, 3]}, index=[1, 2])
714714
df.iloc[:, [0, 1]] = df2.iloc[:, [0, 1]]
715715
tm.assert_frame_equal(df, expected)
716716

0 commit comments

Comments
 (0)