TabularData imports, manipulates, and analyzes columnar table data in a type-safe way, organizing values into a DataFrame composed of typed Column structures. You read and write data in common formats using options and error types such as CSVReadingOptions, JSONWritingOptions, and CSVReadingError, and you work with subsets of data through ColumnSlice, DiscontiguousColumnSlice, and ColumnID. To transform and summarize data, you group rows with RowGrouping, combine tables using a JoinKind, sort with Order, and compute statistics with NumericSummary and CategoricalSummary. The framework is available on iOS, macOS, tvOS, watchOS, and visionOS.
Data Frames 2
Build, transform, and inspect tables of columnar data.
- PrDataFrameProtocoliOS 15+A type that represents a data frame.
- StShapedDataiOS 15+A collection type that represents multidimensional data in a data frame element.
Columns 8
Store and access the typed and type-erased columns that make up a table.
- StColumniOS 15+A column in a data frame.
- StAnyColumniOS 15+A type-erased column.
- StFilledColumniOS 15+A view on a column that replaces missing elements with a default value.
- StColumnIDiOS 15+A column identifier that stores a column's name and the type of its elements.
- PrColumnProtocoliOS 15+A type that represents a column.
- PrAnyColumnProtocoliOS 15+A type that represents a type-erased column.
- PrOptionalColumnProtocoliOS 15+A type that represents a column that has missing values.
- PrAnyColumnPrototypeiOS 15+A prototype that creates type-erased columns.
Column Slices 3
Work with contiguous and discontiguous subsets of a column's values.
- StColumnSliceiOS 15+A collection that represents a selection of contiguous elements from a typed column.
- StAnyColumnSliceiOS 15+A type-erased column slice.
- StDiscontiguousColumnSliceiOS 15+A collection that represents a selection, potentially with gaps, of elements from a typed column.
Reading and Writing CSV 5
Configure and handle errors when importing and exporting comma-separated values.
- StCSVReadingOptionsiOS 15+A set of CSV file-reading options.
- StCSVWritingOptionsiOS 15+A set of CSV file-writing options.
- EnCSVReadingErroriOS 15+A CSV reading error.
- EnCSVWritingErroriOS 15+A CSV writing error.
- EnCSVTypeiOS 15+Represents the value types in a CSV file.
Reading and Writing JSON 5
Configure and handle errors when importing and exporting JSON data.
- StJSONReadingOptionsiOS 15+A set of JSON file-reading options.
- StJSONWritingOptionsiOS 16.0+A set of JSON file-reading options.
- EnJSONReadingErroriOS 15+A JSON reading error.
- EnJSONTypeiOS 15+Represents the value types in a JSON file.
- EnSFrameReadingErroriOS 15+An error when reading a Turi Create scalable data frame.
Encoding and Formatting 3
Encode, decode, and format column values and table output.
- StColumnDecodingErroriOS 15+A column decoding error.
- StColumnEncodingErroriOS 15+A column encoding error.
- StFormattingOptionsiOS 15+A set of parameters that indicate how to present the contents of data frame or column types to a printable string.
Grouping and Joining 5
Group rows, summarize groups, and combine tables.
- StRowGroupingiOS 15+A collection of row selections that have the same value in a column.
- PrRowGroupingProtocoliOS 15+A type that represents a collection of row selections that have the same value in a column.
- PrGroupSummariesiOS 15+A collection of group summaries.
- EnJoinKindiOS 15+An operation type that joins two data frame types.
- EnOrderiOS 15+A type that represents a sort ordering.
Summary Statistics 4
Compute descriptive statistics for numeric and categorical columns.
- StNumericSummaryiOS 15+A summary of a numerical column.
- StCategoricalSummaryiOS 15+A categorical summary of a collection's elements.
- StAnyCategoricalSummaryiOS 15+A type-erased categorical summary.
- EnSummaryColumnIDsiOS 15+The summary data frame column identifiers.
Structures 1
- StDataFrameiOS 15+A collection that arranges data in rows and columns.