class_docstr: Shuffles and writes Examples to Arrow files.
class_docstr_tok: ["Shuffles","and","writes","Examples","to","Arrow","files","."]
docstr: Write stored rows from the write-pool of rows. It concatenates the single-row tables and it writes the resulting table.
docstr_tok: ["Write","stored","rows","from","the","write-pool","of","rows",".","It","concatenates","the","single-row","tables","and","it","writes","the","resulting","table","."]
code: def write_rows_on_file(self):
      """Write stored rows from the write-pool of rows. It concatenates the single-row tables and it writes the resulting table."""
      if not self.current_rows:
          return
      table = pa.concat_tables(self.current_rows)
      self.write_table(table)
      self.current_rows = []
  
imports: import errno
  import json
  import os
  import sys
  from pathlib import Path
  from typing import Any, Dict, Iterable, List, Optional, Tuple, Union
  import fsspec
  import numpy
  import pyarrow
  import pyarrow.parquet
  from .None import config
  from .features import Features, Image, Value
  from .features.features import FeatureType, _ArrayXDExtensionType, cast_to_python_objects, generate_from_arrow_type, get_nested_type, list_of_np_array_to_pyarrow_listarray, numpy_to_pyarrow_listarray, to_pyarrow_listarray
  from .filesystems import is_remote_filesystem
  from .info import DatasetInfo
  from .keyhash import DuplicatedKeysError, KeyHasher
  from .table import array_cast, array_concat, cast_array_to_feature, embed_table_storage, table_cast
  from .utils import logging
  from .utils import tqdm
  from .utils.file_utils import hash_url_to_filename
  from .utils.py_utils import asdict, first_non_null_value
label_desc: Use image node_id 10 for calling the ArrowWriter obj's underlying member method code with example usage: obj.write_rows_on_file() without return types