Compress
Processor that concatenates columns and stacks the rows of each group into per-group 2D arrays.
Configuration
Selected as name: compress.
Option |
Description |
Type |
Default |
|---|---|---|---|
|
Destination frame for the compressed result. |
str |
required |
|
Columns to group rows by (one output row per group). |
column(s) |
required |
|
Columns concatenated and stacked into the per-group array. |
column(s) |
required |
|
Output column holding the stacked array. |
str | int |
required |
|
Data type of the stacked array. |
str |
|
|
Store the source column names in the attributes. |
bool |
|
|
Store the per-column offsets in the attributes. |
bool |
|
- name: compress
kwargs:
to: pulses
by: event_id
cols: [ x, y, z, charge, time ]
out: features