Safe Haskell | None |
---|---|
Language | Haskell2010 |
DataFrame.Operations.Aggregation
Synopsis
- groupBy :: [Text] -> DataFrame -> GroupedDataFrame
- changingPoints :: (Eq a, Unbox a) => Vector (Int, a) -> [Int]
- mkRowRep :: [Int] -> DataFrame -> Int -> Int
- hash' :: Columnable a => a -> Int
- mkGroupedColumns :: Vector Int -> DataFrame -> DataFrame -> Text -> DataFrame
- aggregate :: [(Text, UExpr)] -> GroupedDataFrame -> DataFrame
- selectIndices :: Vector Int -> DataFrame -> DataFrame
- distinct :: DataFrame -> DataFrame
Documentation
groupBy :: [Text] -> DataFrame -> GroupedDataFrame Source #
O(k * n) groups the dataframe by the given rows aggregating the remaining rows into vector that should be reduced later.
hash' :: Columnable a => a -> Int Source #
This hash function returns the hash when given a non numeric type but the value when given a numeric.