<!--
{
  "documentType" : "article",
  "framework" : "TabularData",
  "identifier" : "/documentation/TabularData/DataFrame/Row/RandomAccessCollection-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "RandomAccessCollection Implementations"
}
-->

# RandomAccessCollection Implementations

## Topics

### Instance Properties

[`var endIndex: Int`](/documentation/TabularData/DataFrame/Row/endIndex)

The index of the final column in the row.

[`var startIndex: Int`](/documentation/TabularData/DataFrame/Row/startIndex)

The index of the initial column in the row.

### Instance Methods

[`func index(after: Int) -> Int`](/documentation/TabularData/DataFrame/Row/index(after:))

Returns the column index immediately before a column index in the row.

[`func index(before: Int) -> Int`](/documentation/TabularData/DataFrame/Row/index(before:))

Returns the column index immediately after a column index in the row.

### Subscripts

[`subscript(Int) -> Any?`](/documentation/TabularData/DataFrame/Row/subscript(_:)-5tsj0)

Accesses a value at a column index.

[`subscript(Range<Int>) -> Slice<DataFrame.Row>`](/documentation/TabularData/DataFrame/Row/subscript(_:)-9bmjj)

Accesses a slice from a range of indices.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)