Skip to content

Commit 07e3c90

Browse files
committed
Flatten navigation of Modify operations
1 parent 15ea2b4 commit 07e3c90

34 files changed

+121
-71
lines changed

docs/StardustDocs/d.tree

Lines changed: 54 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -92,73 +92,61 @@
9292
</toc-element>
9393
</toc-element>
9494
<toc-element topic="modify.md">
95-
<toc-element topic="sliceRows.md">
96-
<toc-element topic="xs.md"/>
97-
</toc-element>
95+
<toc-element topic="add.md"/>
96+
<toc-element topic="adjustSchema.md"/>
97+
<toc-element topic="append.md"/>
98+
<toc-element topic="cast.md"/>
99+
<toc-element topic="concat.md"/>
100+
<toc-element topic="convert.md"/>
101+
<toc-element topic="convertTo.md"/>
102+
<toc-element topic="distinct.md"/>
103+
<toc-element topic="drop.md"/>
104+
<toc-element topic="duplicate.md"/>
105+
<toc-element topic="explode.md"/>
106+
<toc-element topic="fill.md"/>
107+
<toc-element topic="filter.md"/>
108+
<toc-element topic="flatten.md"/>
109+
<toc-element topic="gather.md"/>
110+
<toc-element topic="group.md"/>
111+
<toc-element topic="groupBy.md"/>
112+
<toc-element topic="implode.md"/>
113+
<toc-element topic="inferType.md"/>
114+
<toc-element topic="insert.md"/>
115+
<toc-element topic="join.md"/>
116+
<toc-element topic="joinWith.md"/>
117+
<toc-element topic="map.md"/>
118+
<toc-element topic="merge.md"/>
119+
<toc-element topic="move.md"/>
120+
<toc-element topic="parse.md"/>
121+
<toc-element topic="pivot.md"/>
122+
<toc-element topic="remove.md"/>
123+
<toc-element topic="rename.md"/>
124+
<toc-element topic="reorder.md"/>
125+
<toc-element topic="replace.md"/>
126+
<toc-element topic="reverse.md"/>
98127
<toc-element topic="select.md"/>
99-
<toc-element topic="filterRows.md">
100-
<toc-element topic="filter.md"/>
101-
<toc-element topic="drop.md"/>
102-
<toc-element topic="distinct.md"/>
103-
</toc-element>
104-
<toc-element topic="reorderRows.md">
105-
<toc-element topic="sortBy.md"/>
106-
<toc-element topic="shuffle.md"/>
107-
<toc-element topic="reverse.md"/>
108-
</toc-element>
109-
<toc-element topic="groupByConcat.md">
110-
<toc-element topic="groupBy.md"/>
111-
<toc-element topic="concat.md"/>
112-
</toc-element>
113-
<toc-element topic="updateConvert.md">
114-
<toc-element topic="update.md">
115-
<toc-element topic="fill.md"/>
116-
</toc-element>
117-
<toc-element topic="convert.md">
118-
<toc-element topic="parse.md"/>
119-
<toc-element topic="unfold.md"/>
120-
</toc-element>
121-
<toc-element topic="inferType.md"/>
122-
</toc-element>
123-
<toc-element topic="splitMerge.md">
124-
<toc-element topic="split.md"/>
125-
<toc-element topic="merge.md"/>
126-
</toc-element>
127-
<toc-element topic="addRemove.md">
128-
<toc-element topic="add.md"/>
129-
<toc-element topic="map.md"/>
130-
<toc-element topic="remove.md"/>
131-
</toc-element>
132-
<toc-element topic="moveRename.md">
133-
<toc-element topic="move.md"/>
134-
<toc-element topic="rename.md"/>
135-
<toc-element topic="reorder.md"/>
136-
</toc-element>
137-
<toc-element topic="groupUngroupFlatten.md">
138-
<toc-element topic="group.md"/>
139-
<toc-element topic="ungroup.md"/>
140-
<toc-element topic="flatten.md"/>
141-
</toc-element>
142-
<toc-element topic="insertReplace.md">
143-
<toc-element topic="insert.md"/>
144-
<toc-element topic="replace.md"/>
145-
</toc-element>
146-
<toc-element topic="explodeImplode.md">
147-
<toc-element topic="explode.md"/>
148-
<toc-element topic="implode.md"/>
149-
</toc-element>
150-
<toc-element topic="pivotGather.md">
151-
<toc-element topic="pivot.md"/>
152-
<toc-element topic="gather.md"/>
153-
</toc-element>
154-
<toc-element topic="appendDuplicate.md">
155-
<toc-element topic="append.md"/>
156-
<toc-element topic="duplicate.md"/>
157-
</toc-element>
158-
<toc-element topic="adjustSchema.md">
159-
<toc-element topic="cast.md"/>
160-
<toc-element topic="convertTo.md"/>
161-
</toc-element>
128+
<toc-element topic="shuffle.md"/>
129+
<toc-element topic="sliceRows.md"/>
130+
<toc-element topic="sortBy.md"/>
131+
<toc-element topic="split.md"/>
132+
<toc-element topic="toList.md"/>
133+
<toc-element topic="unfold.md"/>
134+
<toc-element topic="ungroup.md"/>
135+
<toc-element topic="update.md"/>
136+
<toc-element topic="xs.md"/>
137+
<toc-element topic="addRemove.md" hidden="true"/>
138+
<toc-element topic="sliceRows.md" hidden="true"/>
139+
<toc-element topic="filterRows.md" hidden="true"/>
140+
<toc-element topic="reorderRows.md" hidden="true"/>
141+
<toc-element topic="groupByConcat.md" hidden="true"/>
142+
<toc-element topic="updateConvert.md" hidden="true"/>
143+
<toc-element topic="splitMerge.md" hidden="true"/>
144+
<toc-element topic="moveRename.md" hidden="true"/>
145+
<toc-element topic="groupUngroupFlatten.md" hidden="true"/>
146+
<toc-element topic="insertReplace.md" hidden="true"/>
147+
<toc-element topic="explodeImplode.md" hidden="true"/>
148+
<toc-element topic="pivotGather.md" hidden="true"/>
149+
<toc-element topic="appendDuplicate.md" hidden="true"/>
162150
</toc-element>
163151
<toc-element toc-title="Statistics">
164152
<toc-element topic="summaryStatistics.md">

docs/StardustDocs/topics/add.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Original [`DataFrame`](DataFrame.md) is not modified.
88
`add` appends columns to the end of the dataframe by default.
99
If you want to add a single column to a specific position in the dataframe, use [insert](insert.md).
1010

11+
**Related operations**: [](addRemove.md)
12+
1113
## Create a new column and add it to [`DataFrame`](DataFrame.md)
1214

1315
```text

docs/StardustDocs/topics/addRemove.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[//]: # (title: Add / map / remove columns)
22

33
* [`add`](add.md) columns to [`DataFrame`](DataFrame.md)
4-
* [`map`](map.md) columns to new [`DataFrame`](DataFrame.md) or [`DataColumn`](DataColumn.md)
4+
* [`map`](map.md) columns to new [`DataFrame`](DataFrame.md), [`DataColumn`](DataColumn.md) or `List`
55
* [`remove`](remove.md) columns from [`DataFrame`](DataFrame.md)

docs/StardustDocs/topics/append.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ df.append (
77
"John", 17,
88
"Bill", 30)
99
```
10+
11+
**Related operations**: [](appendDuplicate.md)

docs/StardustDocs/topics/cast.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Changes the type argument of the [`DataFrame`](DataFrame.md) instance without ch
77
cast<T>(verify = false)
88
```
99

10+
Related operations: [](adjustSchema.md)
11+
1012
**Parameters:**
1113
* `verify: Boolean = false`
1214
when `true`, the function throws an exception if the [`DataFrame`](DataFrame.md) instance doesn't match the given schema.

docs/StardustDocs/topics/concat.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
Returns a [`DataFrame`](DataFrame.md) with the union of rows from several given [`DataFrame`](DataFrame.md) objects.
66

7+
**Related operations**: [](multipleDataFrames.md)
8+
79
`concat` is available for:
810

911
[`DataFrame`](DataFrame.md):

docs/StardustDocs/topics/convert.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ colExpression = DataFrame.(DataColumn) -> DataColumn
1313
frameExpression: DataFrame.(DataFrame) -> DataFrame
1414
```
1515

16+
**Related operations**: [](updateConvert.md)
17+
1618
See [column selectors](ColumnSelectors.md) for how to select the columns for this operation and
1719
[row expressions](DataRow.md#row-expressions) for how to provide new values.
1820

docs/StardustDocs/topics/convertTo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
convertTo<Schema>(excessiveColumns = ExcessiveColumns.Keep)
88
```
99

10+
**Related operations**: [](adjustSchema.md)
11+
1012
Customization DSL:
1113
* `convert`—how specific column types should be converted
1214
* `parser`—how to parse strings into custom types

docs/StardustDocs/topics/distinct.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Removes duplicate rows.
66
The rows in the resulting [`DataFrame`](DataFrame.md) are in the same order as they were in the original [`DataFrame`](DataFrame.md).
77

8+
Related operations: [](filterRows.md)
9+
810
<!---FUN distinct-->
911

1012
```kotlin

docs/StardustDocs/topics/drop.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
[//]: # (title: drop)
1+
[//]: # (title: drop / dropNulls / dropNaNs / dropNA)
22

33
<!---IMPORT org.jetbrains.kotlinx.dataframe.samples.api.Access-->
44

55
Removes all rows that satisfy [row condition](DataRow.md#row-conditions)
66

7+
**Related operations**: [](filterRows.md)
8+
79
<!---FUN dropWhere-->
810
<tabs>
911
<tab title="Properties">

0 commit comments

Comments
 (0)