You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/StardustDocs/topics/pivot.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ df.pivot { "city" then "name"["firstName"] }
91
91
## pivot + groupBy
92
92
93
93
To create matrix table that is expanded both horizontally and vertically, apply [`groupBy`](groupBy.md) transformation passing the columns for vertical grouping.
94
-
Reversed order of [`pivot`](pivot.md) and [`groupBy`](groupBy.md) will produce the same result.
94
+
Reversed order of `pivot` and [`groupBy`](groupBy.md) will produce the same result.
By default, any aggregation function will result in `null` value for those matrix cells, where intersection of column and row keys produced an empty data group.
308
306
You can specify default value for any aggregation by `default` infix function. This value will replace all `null` results of aggregation function over non-empty data groups as well.
309
307
To use one default value for all aggregation functions, use `default()` before aggregation.
0 commit comments