Like equals, but also checks attributes.
(self, other, equiv=duck_array_ops.array_equiv)
| 1906 | return self.equals(other, equiv=equiv) |
| 1907 | |
| 1908 | def identical(self, other, equiv=duck_array_ops.array_equiv): |
| 1909 | """Like equals, but also checks attributes.""" |
| 1910 | try: |
| 1911 | return utils.dict_equiv(self.attrs, other.attrs) and self.equals( |
| 1912 | other, equiv=equiv |
| 1913 | ) |
| 1914 | except (TypeError, AttributeError): |
| 1915 | return False |
| 1916 | |
| 1917 | def no_conflicts(self, other, equiv=duck_array_ops.array_notnull_equiv): |
| 1918 | """True if the intersection of two Variable's non-null data is |