-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
bugSomething isn't workingSomething isn't working
Description
On nodejs-polars 0.22.2
There is an issue with using .unique and passing all the options as separate arguments
This throws error: Given napi value is not an array:
df.unique(true, "column", "first")
where as passing the column in an array does not and works as expected:
df.unique(true, ["column"], "first")
for reference both these work when passing all the options in an object:
df.unique({ keep: "first", subset: "column", maintainOrder: true })
df.unique({ keep: "first", subset: ["column"], maintainOrder: true })
Bidek56
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working