Skip to content

Commit

Permalink
Pandas (?) backcompat
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Jul 18, 2022
1 parent 01cf7e4 commit edb5c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/_stats/test_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_mean_sd(self, df, func):

grouped = df.groupby("x", as_index=False)["y"]
est = grouped.mean()
err = grouped.std()
err = grouped.std().fillna(0) # fillna needed only on pinned tests
expected = est.assign(ymin=est["y"] - err["y"], ymax=est["y"] + err["y"])
assert_frame_equal(res, expected)

Expand Down

0 comments on commit edb5c3c

Please sign in to comment.