Skip to content

Commit

Permalink
[DOC] Unique: documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdapretnar committed Apr 6, 2021
1 parent 57090dd commit 294ba57
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions doc/visual-programming/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Data
widgets/data/color
widgets/data/featurestatistics
widgets/data/neighbors
widgets/data/unique


Visualize
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
9 changes: 4 additions & 5 deletions doc/visual-programming/source/widgets/data/unique.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Unique
======

Remove duplicated data instances
Remove duplicated data instances.

**Inputs**

Expand All @@ -13,15 +13,14 @@ Remove duplicated data instances

The widget removes duplicated data instances. The user can choose a subset of observed variables, so two instances are considered as duplicates although they may differ in values of other, ignored variables.


![](images/Unique-Default-stamped.png)
![](images/Unique-stamped.png)

1. Select the variables that are considered in comparing data instances.
2. Data instance that is kept. The options are to use the first, last, middle or random instance, or to keep none, that is, to remove duplicated instances altogether.

Example
-------

Data set Zoo contains two frogs. This workflow keeps only one by removing the instances with same names.
Data set *Zoo* contains two frogs. This workflow keeps only one by removing instances with the same names.

![](images/Unique-Workflow.png)
![](images/Unique-Example.png)
7 changes: 7 additions & 0 deletions doc/widgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,13 @@
"keywords": [
"export"
]
},
{
"text": "Unique",
"doc": "visual-programming/source/widgets/data/unique.md",
"icon": "../Orange/widgets/data/icons/Unique.svg",
"background": "#FFD39F",
"keywords": []
}
]
],
Expand Down

0 comments on commit 294ba57

Please sign in to comment.