Description Usage Arguments Value Examples
Expand Data by Weight
1 | expand(x, weight)
|
x |
dataframe or matrix |
weight |
weight column names or index |
expanded data
1 2 3 4 5 |
v x n
1 1 7 2
2 1 7 2
3 2 8 3
4 2 8 3
5 2 8 3
6 3 9 4
7 3 9 4
8 3 9 4
9 3 9 4
v x n
1 1 7 2
2 1 7 2
3 2 8 3
4 2 8 3
5 2 8 3
6 3 9 4
7 3 9 4
8 3 9 4
9 3 9 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.