ray.data.datasource.RowBasedFileDatasink.write_row_to_file#

RowBasedFileDatasink.write_row_to_file(row: Dict[str, Any], file: pyarrow.NativeFile)[source]#

Write a row to a file.

Parameters:
  • row – The row to write.

  • file – The file to write the row to.