In a single process, I could write an Polars Expr
and then use it on DataFrame
by with_column
or select
.
But in another scenario of realtime financial data, I have a rust process which has a lot of history and realtime data(DataFrame
) as a server. There are multiple python process(client) need to put their own Expr
/PyExpr
/LogicalPlan
on the same data.
Because the data is changing time by time, so I need to avoid frequently data copy from rust to python. Is there a way to send the Expr
/PyExpr
/LogicalPlan
from python client to rust server, then calculate the result in rust with its data so the copy job would be much smaller.