transformations:keeptop
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
transformations:keeptop [2014/10/25 17:19] – created dmitry | transformations:keeptop [2015/05/01 08:58] – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Keep Top Rows ===== | + | ===== Trim Table ===== |
- | This transformation | + | This transformation |
- | If you need to remove bottom rows -- add line numbers using [[transformations: | + | EXAMPLE |
+ | **Source table:** The longest rivers in the world in descending order (by length) | ||
+ | |||
+ | ^ River ^ Length (km) ^ Continent | ||
+ | | Nile | 6650 | Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | | Yenisei | ||
+ | | Yellow River | 5464 | Asia | | ||
+ | | Ob | 5410 | Asia | | ||
+ | | Paraná | ||
+ | |||
+ | |||
+ | **Objective: | ||
+ | |||
+ | **Transformation parameters: | ||
+ | * Keep or Remove: Keep | ||
+ | * Top or bottom: Top | ||
+ | * Number of rows: 3 | ||
+ | |||
+ | **Output table:** | ||
+ | |||
+ | ^ River ^ Length (km) ^ Continent | ||
+ | | Nile | 6650 | Africa | ||
+ | | Amazon | ||
+ | | Yangtze |