Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions docs/StardustDocs/topics/append.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,27 @@

Adds one or several rows to [`DataFrame`](DataFrame.md)
```kotlin
df.append (
df.append(
"Mike", 15,
"John", 17,
"Bill", 30)
"Bill", 30,
)
```

If the compiler plugin is enabled, typesafe overload of `append` is available for `@DataSchema` classes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*a typesafe

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and can you link somewhere when you say "compiler plugin"?


```
Copy link
Collaborator

@Jolanrensen Jolanrensen Oct 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kotlin

@DataSchema
data class Person(val name: String, val age: Int)
```

```kotlin
val df = dataFrameOf(
Person("Mike", 15),
Person("John", 17),
)

df.append(Person("Bill", 30))
```

**Related operations**: [](appendDuplicate.md)