Open
Description
Followup to #31290. Currently pd.cut
doesn't play nicely with all extension arrays. To support them, I think we'll need one addition to the interface.
We need an array of integers to pass to searchsorted in
pandas/pandas/core/reshape/tile.py
Line 394 in 4edcc55
It doesn't matter what value is used for missing values, as long as it's distinct.
We can't quite use factorize(arr)[0]
since it doesn't have the ordering requirement.