sort¶
-
DataFrames.
sort
(key, descending=False)[source]¶ Sorts the data frames container.
- Args:
- key (callable, optional):
A callable that evaluates to a sort key for a given item.
- descending (bool, optional):
Whether to sort in descending order.
- Return:
getml.pipeline.DataFrames
:A container of sorted data frames.
- Example:
by_num_rows = getml.project.data_frames.sort(lambda frame: frame.nrows())