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
Looking at this now - this seems to be a Python-only bug, and the simplest reduction of the problem is 'a' == 'a', which works fine in Javascript but fails in t_tscalar::operator== in Python.
from perspective import Table
tbl = Table({"a": [1, 2, 3], "b": ["a", "b", "c"]}, index="a")
tbl.view(expressions=['if("b"==1, 1, 2)']) # fine
tbl.view(expressions=['if("b"==\'a\', 1, 2)']) # segfault
I've only tested this in 3.9 and it seems to work fine on the javascript side
The text was updated successfully, but these errors were encountered: