code: def equals(self, other):
      if not isinstance(other, ParquetDataset):
          raise TypeError(
              "`other` must be an instance of ParquetDataset"
          )
  
      return (
          self.schema == other.schema
          and self._dataset.format == other._dataset.format
          and self.filesystem == other.filesystem
          and
          # self.fragments == other.fragments and
          self.files == other.files
      )
  
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 2 for calling the ParquetDataset obj's underlying member method code with example usage: obj.equals(other) and returns: unknown