-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d13dab
commit c676227
Showing
5 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
doc/visual-programming/source/widgets/data/aggregatecolumns.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Aggregate Columns | ||
================= | ||
|
||
Compute a sum, max, min ... of selected columns. | ||
|
||
**Inputs** | ||
|
||
- Data: input dataset | ||
|
||
**Outputs** | ||
|
||
- Data: extended dataset | ||
|
||
**Aggregate Columns** outputs an aggregation of selected columns, for example a sum, min, max, etc. | ||
|
||
![](images/AggregateColumns.png) | ||
|
||
1. Selected attributes. | ||
2. Operator for aggregation: | ||
- sum | ||
- product | ||
- min | ||
- max | ||
- mean | ||
- variance | ||
- median | ||
3. Set the name of the computed attribute. | ||
4. If *Apply automatically* is ticked, changes will be communicated automatically. Alternatively, click *Apply*. | ||
|
||
Example | ||
------- | ||
|
||
We will use iris data from the [File](../data/file.md) widget for this example and connect it to **Aggregate Columns**. | ||
|
||
Say we wish to compute a sum of *sepal_length* and *sepal_width* attributes. We select the two attributes from the list. | ||
|
||
![](images/AggregateColumns-Example.png) |
Binary file added
BIN
+72.6 KB
doc/visual-programming/source/widgets/data/images/AggregateColumns-Example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
doc/visual-programming/source/widgets/data/images/AggregateColumns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters