transform
The transform method applies a function to all constituents of a partitioned table.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| func | Callable[[Table], Table] | A function that takes a table as input and returns a table. The table operations applied within the function must be done from within an execution context. |
Returns
A PartitionedTable.
Examples
This first example applies a transformation to add a new column to each constituent of a partitioned table.
This second example applies aggregations to each constituent of a partitioned table via transform.