code: def __eq__(self, other):
      for attr in ["d", "run", "fold", "rep", "final"]:
          if getattr(self, attr) is None:
              if getattr(other, attr) is not None:
                  return False
          elif not getattr(self, attr).equals(getattr(other, attr)):
              return False
      return True
  
imports: import pandas
  from typing import List, Optional
label_desc: Use image node_id 2 for calling the _BaseDataChunk obj's underlying member method code with example usage: obj.__eq__(other) and returns: True, False, False