DataFrame.sortIndex
Sort DataFrame by index
DataFrame.sortIndex(options) [source]
Parameters
Type
Description
Default
options
Object
{
ascending: Sorting order.
inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false
}
{ascending: true, **inplace:**false}
Returns:
**** return DataFrame
Examples
Sort DataFrame by a column in ascending order
Last updated