dataframe-0.7.0.0: A fast, safe, and intuitive DataFrame library.
Safe HaskellNone
LanguageHaskell2010

DataFrame.Operations.Permutation

Synopsis

Documentation

data SortOrder where Source #

Sort order taken as a parameter by the sortBy function.

Constructors

Asc :: forall a. Columnable a => Expr a -> SortOrder 
Desc :: forall a. Columnable a => Expr a -> SortOrder 

Instances

Instances details
Eq SortOrder Source # 
Instance details

Defined in DataFrame.Operations.Permutation

sortBy :: [SortOrder] -> DataFrame -> DataFrame Source #

O(k log n) Sorts the dataframe by a given row.

sortBy Ascending ["Age"] df