Closed galipremsagar closed 5 months ago
This issue has been marked stale due to no recent activity in the past 30d. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be marked rotten if there is no activity in the next 60d.
This issue has been labeled inactive-90d
due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.
I'd be hesitant to expand our API surface area by introducing a new ListIndex type until we have compelling use cases. This is especially true around indexes, as we are concurrently pushing for Pandas to rely less on indexes (https://github.com/pandas-dev/pandas/issues/48880).
@shwina I agree, moving this to backlog until we find a compelling use-case, but I opened a PR to throw an error with an informative message rather than a RecursionError
: https://github.com/rapidsai/cudf/pull/11902
I'm going to treat this as resolved by #11902. The use case in #12037 could in principle be resolved by actually supporting a list index, but as discussed there we would rather solve this in other ways. We don't want to introduce a new index type, especially one that doesn't even exist in pandas.
Describe the bug While trying to create an Index object of
list
dtype, we are currently getting aRecursionError
. Havinglist
dtype support inIndex
would be essential incase of.str.split
operations where.str
can operate on anIndex
object and the expected output would be a list dtype.Steps/Code to reproduce bug
Expected behavior Ability to create an Index with
list
dtype.Environment overview (please complete the following information)
Environment details Please run and paste the output of the
cudf/print_env.sh
script here, to gather any other relevant environment detailsClick here to see environment details