Skip to content

Commit

Permalink
[fix] FutureWarning: The provided callable <function mean>
Browse files Browse the repository at this point in the history
- currently using SeriesGroupBy.mean
  To keep current behavior pass the string "mean" instead.
  • Loading branch information
DrYak committed Jul 4, 2024
1 parent 77a8b9a commit 051ea4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lollipop/cli/deconvolute.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def deconvolute(
.groupby(agg_columns)
.agg(
[
np.mean,
"mean",
lambda x: np.quantile(x, q=0.025),
lambda x: np.quantile(x, q=0.975),
]
Expand Down

0 comments on commit 051ea4c

Please sign in to comment.