Select Columns
Block Group: | Table Operations |
Icon: |
The Select Columns block returns a table that contains only the defined column names from the input table.
For information on using dataflow blocks, see Dataflow.
For answers to some common questions about working with tables, see Tables.
Input/Output Properties
The following properties of the Select Columns block can take input and give output.
- input (table)
- columns (string)
input receives the table from which you want to select rows.
columns specifies the columns in the input table to select, as comma-separated column names.
Output Property
The following property of the Select Columns block can give output but cannot take input.
- output (table)
output returns a new table that contains only the specified columns.
Example
The following image demonstrates an example of the Select Columns block. In this example, two columns from the input table are selected.