Skip to content

Commit 3e10c6a

Browse files
committed
pandas-devGH-24196: linting rules applied
1 parent 132f0e8 commit 3e10c6a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/tests/groupby/test_groupby.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -2975,9 +2975,7 @@ def test_groupby_numeric_only_std_no_result(numeric_only):
29752975
@pytest.mark.parametrize("bug_var", [1, "a"])
29762976
def test_groupby_sum_on_nan_should_return_nan(bug_var):
29772977
# GH 24196
2978-
df = pd.DataFrame({
2979-
"A": [bug_var, bug_var, bug_var, np.nan]
2980-
})
2978+
df = DataFrame({"A": [bug_var, bug_var, bug_var, np.nan]})
29812979
dfgb = df.groupby(lambda x: x)
29822980
result = dfgb.sum(min_count=1)
29832981

0 commit comments

Comments
 (0)