Apache Arrow 定义了两种用于进程间通信 (IPC) 的数据序列化格式:“流”格式和“文件”格式(称为 Feather)。write_ipc_stream() 和 write_feather() 分别写入这些格式。
参数
- x
data.frame、RecordBatch 或 Table- sink
字符串文件路径、连接、URI 或 OutputStream,或文件系统中的路径 (
SubTreeFileSystem)- ...
传递给
write_feather()的额外参数。
另请参阅
write_feather() 用于写入 IPC 文件。write_to_raw() 用于将数据序列化到缓冲区。RecordBatchWriter 用于更底层的接口。