User Tools

Site Tools


transformations:keepduplicates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
transformations:keepduplicates [2016/06/12 11:19] – created dmitrytransformations:keepduplicates [2021/07/19 02:13] (current) – [Examples] craigt
Line 1: Line 1:
-===== Keep duplicates =====+{{ transformations:KeepDuplicatesAction.png}} 
 +====== KEEP DUPLICATES====== 
 +Category: Transform / Filters\\
  
-This transformation keeps all duplicate rows and removes all unique rows. This operation can be performed on all columns, or only on specific columns. In the latter case uniqueness of values in not selected columns will be ignored.+\\  
 +=====Description===== 
 +This action keeps all duplicate rows and removes all unique rows. This operation can be performed on all columns, or only on specific columns. In the latter case, the uniqueness of values in columns not selected will be ignored.\\
  
-EXAMPLE+\\ 
 +=====Use cases===== 
 +In datasets where all records should be unique, this action helps clean them by looking for duplicate values/records and pulling them out for review - to determine if those records warrant removal or modification.\\
  
-**Source table:** The longest rivers in the world+\\  
 +=====Action settings===== 
 +^Setting ^Description ^ 
 +|Apply to|Select whether to check the values in all columns for duplicates, or just specified columns.  Options:  //All columns// or\\ //Selected columns// (and select the columns to check).|
  
-^  River  ^  Length (km)  ^  Continent  ^ 
-| Nile  |  6650  | Africa  | 
-| Amazon  |  6400  | South America  | 
-| Yangtze |  6300  | Eurasia | 
-| Yellow River (Huang He) |  5464  | Eurasia | 
  
-**Objective:** Find duplicates on column [Continent].+\\  
 +=====Examples===== 
 +**Example:** Find duplicates in column "Continent".\\ 
 + 
 +**Source table:** The longest rivers in the world 
 +^River  ^Length (km)  ^Continent 
 +| Nile  |  6650| Africa 
 +| Amazon  |  6400| South America 
 +| Yangtze |  6300| Eurasia 
 +| Yellow River (Huang He) |  5464| Eurasia 
 +\\  
 +**Action parameters:** 
 +> Apply to "Selected columns" 
 +> Columns:  "Continent" 
 + 
 +\\  
 +**Result table:** 
 +^River  ^Length (km)  ^Continent 
 +| Yangtze  |  6300| Eurasia 
 +| Yellow River (Huang He)  |  5464| Eurasia  |
  
-**Output table:**+\\  
 +====Community examples==== 
 +  [[https://community.easymorph.com/t//675/5|Compare two Excel sheets with EasyMorph]] ([[https://community.easymorph.com/uploads/short-url/xQLWtAogCqcMrglyfXLKmrAF7aR.morph|Project]]; Module: //Main//; Group: //Compare data//; Table: //Matching rows//; Action position: //3//)
  
- River  ^  Length (km)  ^  Continent  ^ +\\  
-| Yangtze |  6300  Eurasia| +=====See also===== 
-| Yellow River (Huang He) |  5464  | Eurasia|+  * [[transformations:deduplicate|Deduplicate rows]] 
 +  * [[transformations:filterminmax|Keep min/max]] 
 +  * [[transformations:keepremovematching|Keep/Remove matching]]
transformations/keepduplicates.1465744765.txt.gz · Last modified: 2016/06/12 11:19 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki