docstr: Write Table to the Parquet file.
  
  Parameters
  ----------
  table : Table
  row_group_size : int, default None
      Maximum number of rows in each written row group. If None,
      the row group size will be the minimum of the Table size
      and 1024 * 1024.  If set larger than 64Mi then 64Mi will
      be used instead.
docstr_tok: ["Write","Table","to","the","Parquet","file",".","Parameters","--","--","--","--","--","table",":","Table","row_group_size",":","int",",","default","None","Maximum","number","of","rows","in","each","written","row","group",".","If","None",",","the","row","group","size","will","be","the","minimum","of","the","Table","size","and","1024","*","1024",".","If","set","larger","than","64Mi","then","64Mi","will","be","used","instead","."]
code: def write_table(self, table, row_group_size=None):
      """
      Write Table to the Parquet file.
  
      Parameters
      ----------
      table : Table
      row_group_size : int, default None
          Maximum number of rows in each written row group. If None,
          the row group size will be the minimum of the Table size
          and 1024 * 1024.  If set larger than 64Mi then 64Mi will
          be used instead.
  
      """
      if self.schema_changed:
          table = _sanitize_table(table, self.schema, self.flavor)
      assert self.is_open
  
      if not table.schema.equals(self.schema, check_metadata=False):
          msg = (
              "Table schema does not match schema used to create file: "
              "\ntable:\n{!s} vs. \nfile:\n{!s}".format(
                  table.schema, self.schema
              )
          )
          raise ValueError(msg)
  
      self.writer.write_table(table, row_group_size=row_group_size)
  
imports: from collections import defaultdict
  from contextlib import nullcontext
  from functools import reduce
  import inspect
  import json
  import os
  import re
  import operator
  import warnings
  import pyarrow
  from pyarrow._parquet import ParquetReader, Statistics, FileMetaData, RowGroupMetaData, ColumnChunkMetaData, ParquetSchema, ColumnSchema, ParquetLogicalType, FileEncryptionProperties, FileDecryptionProperties, SortingColumn
  from pyarrow.fs import LocalFileSystem, FileSystem, FileType, _resolve_filesystem_and_path, _ensure_filesystem
  from pyarrow import filesystem
  from pyarrow.util import guid, _is_path_like, _stringify_path, _deprecate_api
label_desc: Use image node_id 7 for calling the ParquetWriter obj's underlying member method code with example usage: obj.write_table(table, row_group_size) without return types