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
Altair will raise an error on being given a DataFrame contain string dtypes. Casting the string columns to object will work fine. Related to #1931 but seems like it's an easier fix. Will try to develop a PR today if I can find the right pieces of code.
Minimal reproducer follows. Uncomment the fourth line to get the expected result.
EDIT: It does work in 4.1.0dev0 since that already adds the checks for the dedicated string dtype in Pandas. Accordingly, I've resolved the problem by installing the dev version for now. Any hints on a release date?
The text was updated successfully, but these errors were encountered:
Pandas 1.0.2
Altair 4.0.1
Altair will raise an error on being given a DataFrame contain string dtypes. Casting the string columns to object will work fine. Related to #1931 but seems like it's an easier fix. Will try to develop a PR today if I can find the right pieces of code.
Minimal reproducer follows. Uncomment the fourth line to get the expected result.
EDIT: It does work in 4.1.0dev0 since that already adds the checks for the dedicated string dtype in Pandas. Accordingly, I've resolved the problem by installing the dev version for now. Any hints on a release date?
The text was updated successfully, but these errors were encountered: