Try to_pandas
rather than erroring if interchanging to pandas doesn't work?
#3533
Labels
to_pandas
rather than erroring if interchanging to pandas doesn't work?
#3533
Here's an example of some code which currently raises:
There's a really long error message, but the gist of it is
Indeed, just doing
would raise the same error
I'd like to suggest that, when converting to pandas, if the interchange protocol fails, there be a
to_pandas
fallback.Because that at least works here (for reference, plotly do the same - try interchanging first, and if that fails, check if there's
to_pandas
, and if so, use that)The text was updated successfully, but these errors were encountered: