LazyFrame.online

class polars_online._frame.LazyFrameOnlineNamespace(lf: LazyFrame)[source]

Bases: object

The online methods of a query, which run a model bank over its rows as the query runs.

Methods and properties

fit_predict([specs, load_state, save_state, ...])

Add each spec's output column to a query's rows, learning the rows as the query runs.

predict(bank, *[, chunk_size, threads])

Predict a query's rows from a bank as it stands, learning nothing.

unnest(specs, *[, separator])

Turn each spec's output column in a query into one column per field.

with_windows(*exprs[, clock, gap_cap, ...])

Add one column per window operator's expression to a query's rows, as the query runs.