Functions.Slice(Column, Int32, Int32) 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.
Returns an array containing all the elements in column
from index start
(or starting from the end if start
is negative) with the specified length
.
[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column Slice (Microsoft.Spark.Sql.Column column, int start, int length);
[<Microsoft.Spark.Since("2.4.0")>]
static member Slice : Microsoft.Spark.Sql.Column * int * int -> Microsoft.Spark.Sql.Column
Public Shared Function Slice (column As Column, start As Integer, length As Integer) As Column
Parameters
- column
- Column
Column to apply
- start
- Int32
Start position in the array
- length
- Int32
Length for slicing
Returns
Column object
- Attributes