PrimitiveDataFrameColumn<T>.Sort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Sort(Boolean) | |
Sort(Boolean, Boolean) |
Returns a copy of this column sorted by its values. |
Sort(Boolean)
public Microsoft.Data.Analysis.PrimitiveDataFrameColumn<T> Sort(bool ascending = true);
override this.Sort : bool -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'T (requires 'T : struct)>
Public Function Sort (Optional ascending As Boolean = true) As PrimitiveDataFrameColumn(Of T)
Parameters
- ascending
- Boolean
Returns
Applies to
Sort(Boolean, Boolean)
Returns a copy of this column sorted by its values.
public Microsoft.Data.Analysis.PrimitiveDataFrameColumn<T> Sort(bool ascending = true, bool putNullValuesLast = true);
override this.Sort : bool * bool -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'T (requires 'T : struct)>
Public Function Sort (Optional ascending As Boolean = true, Optional putNullValuesLast As Boolean = true) As PrimitiveDataFrameColumn(Of T)
Parameters
- ascending
- Boolean
Sorting order.
- putNullValuesLast
- Boolean
If true, null values are always put at the end.