Starting to evaluate the nodejs-polars package and I am facing some issues to get access to the functions related to List Datatype inside a DataFrame. Online help is not providing any entries on these functons (no Interface for ListNamespace), I looked at the source code and obviously, the declarations of these functions are there.
Anyone can point me to some JS code example to use these functions ? In python:
df = pl.DataFrame({"a": [[3, 2, 1], [], [1, 2]]}) df.with_columns(contains=pl.col("a").list.contains(1)
How to do the same thing with nodejs-polars ? All my attempts failed...
let df = pl.DataFrame({"a": [[3, 2, 1], [], [1, 2]]}) .withColumn(pl.col("a").list.contains(1)) >> TypeError: pl.col(...).list.contains is not a function
Thanks in advance