Skip to content

Commit fa82e07

Browse files
committed
Aligned with [pre-commit] test
1 parent 3853e5f commit fa82e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/groupby/test_grouping.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_indices_grouped_by_tuple_with_lambda(self):
129129
df = pd.DataFrame(
130130
{"Tuples": ((x, y) for x in [0, 1] for y in np.random.randint(3, 5, 5))}
131131
)
132-
gb = df.groupby('Tuples')
132+
gb = df.groupby("Tuples")
133133
gb_lambda = df.groupby(lambda x: df.iloc[x, 0])
134134
expected = gb.indices
135135
result = gb_lambda.indices
@@ -790,7 +790,7 @@ def test_get_group_grouped_by_tuple_with_lambda(self):
790790
df = pd.DataFrame(
791791
{"Tuples": ((x, y) for x in [0, 1] for y in np.random.randint(3, 5, 5))}
792792
)
793-
gb = df.groupby('Tuples')
793+
gb = df.groupby("Tuples")
794794
gb_lambda = df.groupby(lambda x: df.iloc[x, 0])
795795
expected = gb.get_group(list(gb.groups.keys())[0])
796796
result = gb_lambda.get_group(list(gb_lambda.groups.keys())[0])

0 commit comments

Comments
 (0)