[BUG] `MultiIndex.equals` does not match pandas for numerical indexes with unequal dtypes
Open
bug
Python
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
**Describe the bug**
```python
import cudf
left = cudf.MultiIndex.from_tuples([(1,)])
right = cudf.MultiIndex.from_tuples([(1.0,)])
print(left.equals(right)) # => False
print(left.to_pandas().equals(right.to_pandas())) # => True
```
**Expected behavior**
This should match pandas. Note that `Index.equals` does do dtype casting.
Contributor guide
Assessment
This issue has not been assessed yet.