transformations:append
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
transformations:append [2015/04/17 23:31] – elenap | transformations:append [2021/04/07 14:16] – [Use cases] dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Append table ===== | + | {{ transformations: |
+ | ====== | ||
+ | Category: Transform / Basic\\ | ||
- | This transformation | + | \\ |
+ | =====Description===== | ||
+ | This action | ||
+ | \\ | ||
+ | ====Append rows==== | ||
+ | The other table (dataset) is appended as new rows at the bottom of the current table. Columns with the same name in both tables appear as one column in the result table. Columns in the appended table that don't exist in the main table are appended on the right. | ||
- | EXAMPLE | + | This mode has the useful feature of preserving the order of columns of the main dataset to which the other dataset is appended.\\ |
+ | \\ | ||
+ | ====Append columns==== | ||
+ | The other table (dataset) is appended as new columns to the right of the current dataset. Columns from the appended table with the same name as in the main table are automatically renamed. The length of the resulting table is the longest length of the two tables.\\ | ||
- | **Table 1:** The longest rivers in the world | + | \\ |
+ | =====Use cases (Append rows)===== | ||
+ | | ||
+ | | ||
- | ^ River ^ Length (km) ^ Continent | ||
- | | Nile | 6650 | Africa | ||
- | | Amazon | ||
- | | Yangtze | ||
- | | Mississippi | ||
- | **Table 2:** The outflow | + | \\ |
+ | =====Action settings===== | ||
+ | ^Setting^Description^ | ||
+ | |Table to append|Select the dataset to append to the current one.| | ||
+ | |Mode|Options: // | ||
- | ^ River ^ Outflow | + | Regardless |
- | | Nile | Mediterranean | + | |
- | | Amazon | + | |
- | | Yangtze | + | |
- | | Mississippi | + | |
+ | \\ | ||
+ | =====Examples===== | ||
- | **Objective: | + | **Objective: |
+ | **Table 1:** The longest rivers in the world | ||
+ | |||
+ | ^River | ||
+ | | Nile | 6650|Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | |||
+ | **Table 2:** The outflow | ||
+ | |||
+ | ^River | ||
+ | | Nile |Mediterranean | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | \\ | ||
+ | **Action parameters: | ||
+ | > Append columns to the right | ||
+ | \\ | ||
**Result:** | **Result:** | ||
- | ^ River ^ Length (km) ^ Continent | + | ^River |
- | | Nile | 6650 | Africa | + | | Nile | 6650|Africa |
- | | Amazon | + | | Amazon |
- | | Yangtze | + | | Yangtze |
- | | Mississippi | + | | Mississippi |
- | | Nile | | | Mediterranean | + | | Nile | | |Mediterranean |
- | | Amazon | + | | Amazon |
- | | Yangtze | + | | Yangtze |
- | | Mississippi | + | | Mississippi |
+ | |||
+ | \\ | ||
+ | =====More examples===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | ]] | ||
+ | * [[https:// | ||
- | === See also === | + | \\ |
- | * [[transformations: | + | =====See also===== |
+ | * [[transformations: | ||
+ | * [[transformations: | ||
transformations/append.txt · Last modified: 2021/07/19 02:32 by craigt