@staticmethod
    def diff_dfs(lhs_df, rhs_df, tolerance):
        diffs = np.abs(lhs_df - rhs_df)
        mask = (tolerance > diffs).values
        mask &= ~(np.isnan(lhs_df) and np.isnan(rhs_df)).values
        mask |= np.isnan(lhs_df).values & ~np.isnan(rhs_df).values
        mask |= np.isnan(rhs_df).values & ~np.isnan(lhs_df).values
        return mask.any()
dataset/ETHPy150Open manahl/mdf/mdf/tests/test_nodes.py/NodeTest.diff_dfs/swapped operands of `>`