Skip to content

Commit c676227

Browse files
committed
Aggregate Columns: Documentation
1 parent 4d13dab commit c676227

File tree

5 files changed

+54
-0
lines changed

5 files changed

+54
-0
lines changed

doc/visual-programming/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Data
3131
widgets/data/sqltable
3232
widgets/data/save
3333
widgets/data/datainfo
34+
widegts/data/aggregatecolumns
3435
widgets/data/datatable
3536
widgets/data/selectcolumns
3637
widgets/data/selectrows
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Aggregate Columns
2+
=================
3+
4+
Compute a sum, max, min ... of selected columns.
5+
6+
**Inputs**
7+
8+
- Data: input dataset
9+
10+
**Outputs**
11+
12+
- Data: extended dataset
13+
14+
**Aggregate Columns** outputs an aggregation of selected columns, for example a sum, min, max, etc.
15+
16+
![](images/AggregateColumns.png)
17+
18+
1. Selected attributes.
19+
2. Operator for aggregation:
20+
- sum
21+
- product
22+
- min
23+
- max
24+
- mean
25+
- variance
26+
- median
27+
3. Set the name of the computed attribute.
28+
4. If *Apply automatically* is ticked, changes will be communicated automatically. Alternatively, click *Apply*.
29+
30+
Example
31+
-------
32+
33+
We will use iris data from the [File](../data/file.md) widget for this example and connect it to **Aggregate Columns**.
34+
35+
Say we wish to compute a sum of *sepal_length* and *sepal_width* attributes. We select the two attributes from the list.
36+
37+
![](images/AggregateColumns-Example.png)
72.6 KB
Loading
10.5 KB
Loading

doc/widgets.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,22 @@
7373
"inspect"
7474
]
7575
},
76+
{
77+
"text": "Aggregate Columns",
78+
"doc": "visual-programming/source/widgets/data/aggregatecolumns.md",
79+
"icon": "../Orange/widgets/data/icons/AggregateColumns.svg",
80+
"background": "#FFD39F",
81+
"keywords": [
82+
"aggregate",
83+
"sum",
84+
"product",
85+
"max",
86+
"min",
87+
"mean",
88+
"median",
89+
"variance"
90+
]
91+
},
7692
{
7793
"text": "Data Sampler",
7894
"doc": "visual-programming/source/widgets/data/datasampler.md",

0 commit comments

Comments
 (0)