DataFrame.Operations.Permutation
data SortOrder Source #
Sort order taken as a parameter by the sortBy function.
sortBy
Constructors
Defined in DataFrame.Operations.Permutation
Methods
(==) :: SortOrder -> SortOrder -> Bool #
(/=) :: SortOrder -> SortOrder -> Bool #
sortBy :: SortOrder -> [Text] -> DataFrame -> DataFrame Source #
O(k log n) Sorts the dataframe by a given row.
sortBy Ascending ["Age"] df
shuffle :: RandomGen g => g -> DataFrame -> DataFrame Source #
shuffledIndices :: RandomGen g => g -> Int -> Vector Int Source #