reverse#
- swordfish.function.reverse()#
If X is a vector or matrix, return a new vector or matrix with reverse order of the original vector or matrix.
If X is an in-memory table, return an in-memory table with reverse row order.
If X is an ordered dictionary, return an ordered dictionary where thekey-value pairs are in reverse order.
- Parameters:
X (Constant) – A vector/matrix/in-memory table/ordered dictionary.