What is the data.table for python equivalent of %like%?
Short example:
dt_foo_bar = dt.Frame({"n": [1, 3], "s": ["foo", "bar"]})
dt_foo_bar[re.match("foo",f.s),:] #works to filter by "foo"
I had expected something like this to work:
dt_foo_bar[re.match("fo",f.s),:]
But it returns "expected string or bytes-like object". I'd love to start using the new data.tables package in Python the way I use it in R but I work a lot more with text data than numeric.
Thanks in advance.