-
Notifications
You must be signed in to change notification settings - Fork 71
☂ Statistics streamlining #961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also see #961 |
Check all
public fun AnyRow.rowMinOrNull(): Any? = values().filterIsInstance<Comparable<*>>().minWithOrNull(compareBy { it }) This will break if you have a Number and String column in your row. While they both are |
I've adjusted the table. We can support mixed number types auto-conversion to |
For the compiler plugin, |
We also need to decide (but probably later) whether all overloads on DataFrame-like objects that take multiple columns and generate a single value should be kept or removed. It's for cases like |
Everything is merged :D |
Continuation of #558 which fixed the most annoying bugs related to
describe
.See #558 for more information.
Our statistics functions need some more love. We used to have many missing types (mostly fixed by #937), but there are yet some more inconsistencies to be solved:
We won't support
UByte
,UShort
,UInt
, andULong
since they don't inheritNumber
.We also drop support for
BigNumber
andBigDecimal
as this makes generic typing and conversion very difficult and unpredictable.Progress:
Aggregator
dependency injection,min
/max
, andskipNaN
#1108Aggregator
dependency injection,min
/max
, andskipNaN
#1108Number -> Number?Number -> Conversion(Common number type) -> DoubleThe text was updated successfully, but these errors were encountered: