Closed zacharygibbs closed 2 weeks ago
Seaborn converts input data to pandas dataframes using the dataframe interchange protocol. If there's some type that's unable to be converted using that protocol, there's nothing seaborn can do about it.
@mwaskom I do understand your take here; pandas does seem like the right place to raise this issue. The only way around this would be to pre-select only the columns used in hue/x/y/col/rows, ... Is that route to complex to consider?
https://github.com/mwaskom/seaborn/blob/b4e5f8d261d6d5524a00b7dd35e00a40e4855872/seaborn/_core/data.py#L313C9-L313C55
which gives error: