swat.cas.table.CASColumn.sort_values

CASColumn.sort_values(self, axis=0, ascending=True, inplace=False, kind='quicksort', na_position='last')

Apply sort order parameters to fetches of the data in this column

CAS tables do not have a predictable order due to the fact that the data may be distributed across machines in a grid. By using the sort_values() method, you are simply applying a sortby= parameter to any table.fetch actions executed on the CASColumn. This gives the appearance of sorted data when it is being retrieved.

Parameters
axisint, optional

Not implemented.

ascendingboolean, optional

If True, the order sort is ascending. If False, order sort is descending.

inplaceboolean, optional

If True, the CASColumn is modified in place.

kindstring, optional

Not implemented.

na_positionstring, optional

Not implemented.

Returns
None

If inplace == True

CASColumn

If inplace == False

See also

CASTable.sort_values
pandas.Series.sort_values