For purposes of example suppose we have the csv file
Name,Value
A,1
A,10
B,11
C,12
In SQL one can add sequence numbers by group using windowing functions like this:
select *, row_number() over (partition by Name) as seq from dat
but it seems this does not work on polars or if it does it is not supported by qsv. Would like to be be able to do this using SQL. If polars does not support this would it be feasible to add SQLite from qsv or other database that supports this?
For purposes of example suppose we have the csv file
In SQL one can add sequence numbers by group using windowing functions like this:
but it seems this does not work on polars or if it does it is not supported by qsv. Would like to be be able to do this using SQL. If polars does not support this would it be feasible to add SQLite from qsv or other database that supports this?