xanderdunn / SwiftArrow

Swift wrapper of the Apache Arrow library
1 stars 0 forks source link

Installation

Development

Usage

Swift Arrays to/from .feather:

PenguinTables to/from .feather:

let columnsDecoded = try PTable(fromFeather: filePath) let doubleColumnDecoded: PTypedColumn = try columnsDecoded[columnNames[1]]!.asDType() assert(doubleColumnDecoded[2] == 879.5) assert(columnsDecoded.columnNames == columnNames.sorted())



Further data types can be supported, the code just needs to be extended for them.