Contents

ColumnSlice

A collection that represents a selection of contiguous elements from a typed column.

Declaration

struct ColumnSlice<WrappedElement>

Overview

A column slice contains only certain elements from its parent column. Create a slice by using a subscript with a range.

let slice = column[100 ..< 200]

Topics

Creating a Column Slice

Creating a Slice of Unique Elements

Creating a Type-Erased Slice

Creating a Column of the Same Type

Creating Transformed Columns

Inspecting a Column Slice

Accessing Elements

Summarizing a Column Slice

Getting Statistical Values

Describing a Column Slice

Comparing Two Column Slices

Modifying a Column Slice with a Value

Modifying a Column Slice with a Collection of Values

Hashing a Column Slice

Supporting Types

Instance Properties

Default Implementations

See Also

Typed Columns