Reshapes
← Relifold documentation

Select

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"),
)
ParameterDefaultMeaning
input_spacesrequiredThe Space or Spaces read by the reshape.
namerequiredA stable node name shown in the pipeline and session.
output_spacerequiredThe Space receiving projected rows.
fieldsrequiredTop-level fields to retain.

Output

One projected row for every input row.