sort_values
Sort a dataframe by one or more columns to order rows for time-series analysis and visual inspection.
Instructions
Sort the dataframe by one or more columns. Sort before visual inspection or time-series analysis. Useful before plot_line. Example: sort_values(columns=["Revenue"], ascending=False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | Yes | ||
| df_name | No | ||
| ascending | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |