DataFrame.sortValues
Sort a Dataframe in ascending or descending order by a specified column name.
Last updated
Was this helpful?
Sort a Dataframe in ascending or descending order by a specified column name.
Last updated
Was this helpful?
danfo.DataFrame.sortValues(by, options) []
by
Object
This key can be either a single column name or a single array of the same length as the calling DataFrame.
options
Object
Optional configuration:
ascending: Order of sorting
inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false
{
ascending: true, inplace: false
}