The method should simply compare each attribute and pandas DataFrame (which requires something different).
For example:
comparable_attrs = self.__dict__.keys() - {"df"}
for k in comparable_attrs:
assert self.__dict__[k] == other.__dict__[k]
assert self.df.equals(other.df)
The method should simply compare each attribute and pandas DataFrame (which requires something different). For example: