You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR fixes multiple issues with `Index.intersection`:
- [x] Fixes issues with handling empty inputs, closes#14020
- [x] Adds validation for inputs.
- [x] Properly handles various types in `intersection` implementation and fix `RangeIndex.intersection` by having a separate implementation for it.
Authors:
- GALI PREM SAGAR (https://github.com/galipremsagar)
Approvers:
- Bradley Dice (https://github.com/bdice)
URL: #14054
Describe the bug
When there is an empty list input,
Index.intersection
is throwing an error.Steps/Code to reproduce bug
Expected behavior
Environment overview (please complete the following information)
The text was updated successfully, but these errors were encountered: