(self, other)
| 1494 | ignore_prefixes=ignore_prefixes) |
| 1495 | |
| 1496 | def equals(self, other): |
| 1497 | if not isinstance(other, ParquetDataset): |
| 1498 | raise TypeError('`other` must be an instance of ParquetDataset') |
| 1499 | |
| 1500 | return (self.schema == other.schema and |
| 1501 | self._dataset.format == other._dataset.format and |
| 1502 | self.filesystem == other.filesystem and |
| 1503 | # self.fragments == other.fragments and |
| 1504 | self.files == other.files) |
| 1505 | |
| 1506 | def __eq__(self, other): |
| 1507 | try: |