def __eq__(self, other):
        return all([getattr(self, a, None) == getattr(other, a, None)
                    for a in ['name', 'cname', 'dtype', 'pos']])
Handle the case where the result contains no items
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/DataCol.__eq__--crossover with--dataset/ETHPy150Open photo/openphoto-python/trovebox/api/api_base.py/ApiBase._result_to_list