Switch agg defaults to numeric_only=None
See original GitHub issueIn line with Pandas. This will also mean we can switch numeric_only=True
to actually do what Pandas does which is convert everything into float64
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How do you change input parameters of pandas groupby.agg ...
I am having issues using the groupby_object.agg() method with functions where I want to change the input parameters.
Read more >pandas.DataFrame.agg — pandas 1.5.2 documentation
Return scalar, Series or DataFrame. The aggregation operations are always performed over an axis, either the: index (default) or the column axis. This...
Read more >$switch (aggregation) — MongoDB Manual
$switch executes the first branch it finds which evaluates to true . If none of the branches evaluates to true, $switch executes the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, we don’t support calling
median_absolute_deviation
on bools. I think we can updateField.is_es_agg_compatible()
to returnFalse
on the boolean types for"median_absolute_deviation"
. Basically treat bools as non-numeric in that agg for now 😃What does the error look like?