Row statistics
The following statistics are available for DataRow
:
rowMax
rowMin
rowSum
rowMean
rowStd
rowMedian
These statistics will be applied only to values of appropriate types and incompatible values will be ignored. For example, if DataFrame
has columns of type String
and Int
, rowSum()
will successfully compute sum of Int
values in a row and ignore String
values.
To apply statistics only to values of particular type use -Of
versions:
rowMaxOf<T>
rowMinOf<T>
rowSumOf<T>
rowMeanOf<T>
rowMedianOf<T>
Last modified: 09 December 2024