reverse
Returns a new DataFrame with the same rows in reversed order, so the last row becomes the first one.
Only the order of the rows changes: the columns, their names and types, and thus the schema of the dataframe stay the same.
For more information: See reverse on the documentation website.
See also shuffle, which reorders rows randomly, and sortBy, which orders rows by the values of the selected columns.
Return
A new DataFrame with the rows in reversed order.
Type Parameters
The schema marker type of this DataFrame.
Returns a new DataColumn with the same values in reversed order, so the last value becomes the first one.
The column keeps its name, type, and kind: a value column stays a value column, a column group stays a column group, and a frame column stays a frame column. The result is typed as DataColumn though, so for a column group use asColumnGroup to get ColumnGroup back.
For more information: See reverse on the documentation website.
See also shuffle, which reorders values randomly.
Return
A new DataColumn with the values in reversed order.
Type Parameters
The type of the values in this DataColumn.
Returns a new ColumnGroup with the same rows in reversed order, so the last row becomes the first one.
The group keeps its name and its nested column structure. Reversing is applied to the group as a whole, so the values in all nested columns stay aligned row-wise.
For more information: See reverse on the documentation website.
See also shuffle, which reorders rows randomly.
Return
A new ColumnGroup with the rows in reversed order.
Type Parameters
The schema marker type of this ColumnGroup.
Returns a new FrameColumn with the same dataframes in reversed order, so the last dataframe becomes the first one.
The column keeps its name and type. Only the order of the dataframes in it changes; the rows inside each of them keep their original order.
For more information: See reverse on the documentation website.
See also reverse, which reverses the rows inside a single dataframe.
Return
A new FrameColumn with the dataframes in reversed order.
Type Parameters
The schema marker type of the dataframes in this FrameColumn.
Returns a new ValueColumn with the same values in reversed order, so the last value becomes the first one.
The column keeps its name and type.
For more information: See reverse on the documentation website.
See also shuffle, which reorders values randomly.
Return
A new ValueColumn with the values in reversed order.
Type Parameters
The type of the values in this ValueColumn.