Skip to content

Commit 0d58870

Browse files
committed
formatting
1 parent 4b8920d commit 0d58870

File tree

2 files changed

+2
-2
lines changed
  • docs/StardustDocs/topics
  • tests/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api

2 files changed

+2
-2
lines changed

docs/StardustDocs/topics/add.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You can use `newValue()` function to access value that was already calculated fo
4848

4949
```kotlin
5050
df.add("fibonacci") {
51-
if(index() < 2) 1
51+
if (index() < 2) 1
5252
else prev()!!.newValue<Int>() + prev()!!.prev()!!.newValue<Int>()
5353
}
5454
```

tests/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Modify.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ class Modify : TestBase() {
696696
fun addRecurrent() {
697697
// SampleStart
698698
df.add("fibonacci") {
699-
if(index() < 2) 1
699+
if (index() < 2) 1
700700
else prev()!!.newValue<Int>() + prev()!!.prev()!!.newValue<Int>()
701701
}
702702
// SampleEnd

0 commit comments

Comments
 (0)