transformations:labelcolumns
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
transformations:labelcolumns [2015/10/01 22:30] – created dmitry | transformations:labelcolumns [2021/07/18 02:23] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Label columns | + | {{ transformations: |
+ | ====== | ||
+ | Category: Transform / Advanced \\ | ||
- | This transformation create | + | \\ |
+ | =====Description===== | ||
+ | This action creates | ||
+ | |||
+ | \\ | ||
+ | =====Use cases===== | ||
+ | This action | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Action settings===== | ||
+ | ^Setting^Description^ | ||
+ | |Use top (# of rows)|Enter or select the number of top rows to use for creating column names.| | ||
+ | |Separator|Select the character to be used to separate the values pulled from the top rows when more than one row is selected.\\ | ||
+ | |Rename|Select whether to rename all columns, or selected columns. | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | When selecting more than one top row, values in those rows will be concatenated using the separator character chosen. | ||
+ | |||
+ | When not selecting all columns to be renamed, any values in the columns //not selected// will be lost from the rows used for column names.\\ | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | **Objective: | ||
+ | |||
+ | **Source dataset: | ||
+ | ^Column1 | ||
+ | |State | ||
+ | |or |in | | ||
+ | |province | ||
+ | |Ontario | ||
+ | |British Columbia | ||
+ | |Quebec | ||
+ | \\ | ||
+ | **Action parameters: | ||
+ | > Use top " | ||
+ | > Separator is " | ||
+ | > All columns are renamed | ||
+ | |||
+ | \\ | ||
+ | **Result table:** | ||
+ | ^State or province | ||
+ | |Ontario | ||
+ | |British Columbia | ||
+ | |Quebec | ||
+ | |||
+ | \\ | ||
+ | ====Community examples==== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | *[[transformations: | ||
+ | *[[transformations: |
transformations/labelcolumns.txt · Last modified: 2021/07/19 02:24 by craigt