Streaming & pipelines#
Align and reshape event streams, wire operators into a runnable pipeline, and save and resume them.
Streams#
Aligning, combining, and reshaping event streams.
Function |
Description |
|---|---|
As-of latest-value join of N streams: one row per distinct index (same-index events coalesce). |
|
Re-stamp each event's index by a fixed time offset (a latency line). |
|
Drop events whose value is NaN. |
|
Two-input mask gate that keeps each data value whose aligned mask is nonzero. |
|
Convert a pandas Series or DataFrame to a (values, index) tuple. |
|
Merge N value streams into one index-sorted (values, sources, index). |
|
Causal windowed downsample of a 1-D or multi-column value stream. |
|
Name the axes of data with a layout string (T, A, F) and reshape it to match. |
|
Runs an operator on each segment of rows with the same label, resetting it where the label changes. |
|
Pick column(s) from a wide (M, N) value stream. |
|
Partition a merged tagged stream back into per-source streams. |
|
The (values, index) tuple at every operator boundary. |
|
Convert a (values, index) tuple to a pandas Series or DataFrame. |
Pipelines#
Building and running a pipeline.
Function |
Description |
|---|---|
A reusable N-in / M-out function you define once and call on stored or live data. |
Save and restore#
Writing an operator, a Pipeline or a live session to a file and resuming it later.
Function |
Description |
|---|---|
Build a fresh function from its type and settings, with no state. |
|
Read a file that save wrote and return the function, Pipeline or live session it holds. |
|
Read a save file from a string or bytes and return the object it holds. |
|
The batch call that starts from a function's state and keeps the end state. |