Reshapes
← Relifold documentationSelect
Keep named top-level fields.
Select projects each row to an explicit list of fields.
Worked example
Select(
name="headline-fields",
input_spaces=("news",),
output_space="headline-fields",
fields=("news_id", "category", "headline"),
)| Parameter | Default | Meaning |
|---|---|---|
input_spaces | required | The Space or Spaces read by the reshape. |
name | required | A stable node name shown in the pipeline and session. |
output_space | required | The Space receiving projected rows. |
fields | required | Top-level fields to retain. |
Output
One projected row for every input row.