We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
append
1 parent 2f9f0f3 commit de27c5bCopy full SHA for de27c5b
1 file changed
docs/StardustDocs/topics/append.md
@@ -2,10 +2,27 @@
2
3
Adds one or several rows to [`DataFrame`](DataFrame.md)
4
```kotlin
5
-df.append (
+df.append(
6
"Mike", 15,
7
"John", 17,
8
- "Bill", 30)
+ "Bill", 30,
9
+)
10
+```
11
+
12
+If the [compiler plugin](Compiler-Plugin.md) is enabled, a typesafe overload of `append` is available for `@DataSchema` classes.
13
14
+```kotlin
15
+@DataSchema
16
+data class Person(val name: String, val age: Int)
17
18
19
20
+val df = dataFrameOf(
21
+ Person("Mike", 15),
22
+ Person("John", 17),
23
24
25
+df.append(Person("Bill", 30))
26
```
27
28
**Related operations**: [](appendDuplicate.md)
0 commit comments