Skip to content

Commit

Permalink
pandas-devGH-24196: linting rules applied
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaiwald committed Apr 18, 2023
1 parent 132f0e8 commit 3e10c6a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pandas/tests/groupby/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -2975,9 +2975,7 @@ def test_groupby_numeric_only_std_no_result(numeric_only):
@pytest.mark.parametrize("bug_var", [1, "a"])
def test_groupby_sum_on_nan_should_return_nan(bug_var):
# GH 24196
df = pd.DataFrame({
"A": [bug_var, bug_var, bug_var, np.nan]
})
df = DataFrame({"A": [bug_var, bug_var, bug_var, np.nan]})
dfgb = df.groupby(lambda x: x)
result = dfgb.sum(min_count=1)

Expand Down

0 comments on commit 3e10c6a

Please sign in to comment.