Skip to content

Commit 7072e3e

Browse files
fix notebook version warning in KTNB setup docs
1 parent ce696dc commit 7072e3e

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

docs/StardustDocs/topics/setup/SetupKotlinNotebook.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,27 @@ You can explicitly define the version you want:
7171
Or use the latest stable version of Kotlin DataFrame
7272
(specified in [Kotlin Jupyter descriptors](https://github.com/Kotlin/kotlin-jupyter-libraries)):
7373

74-
> For version `1.0.0-Beta3`, in notebooks use version `1.0.0-Beta3n` instead.
75-
> This uses the patch of [#1435](https://github.com/Kotlin/dataframe/pull/1435) for issue
76-
> [#1116](https://github.com/Kotlin/dataframe/issues/1116), avoiding `DefinitelyNotNullable` errors.
77-
>
78-
> When using `%use dataframe` this version is applied automatically.
79-
> {style="warning"}
80-
8174
```
8275
%useLatestDescriptors
8376
%use dataframe
8477
```
8578

79+
> For version `1.0.0-Beta4`, in notebooks use version `1.0.0-Beta4n` instead.
80+
> The regular version [does not work with statistical functions](https://github.com/Kotlin/dataframe/issues/1116).
81+
> The `n` version includes a [patch](https://github.com/Kotlin/dataframe/pull/1435) that resolves this issue.
82+
>
83+
> When using `%use dataframe` in the latest kernel version
84+
> or with the `%useLatestDescriptors` this version is applied **automatically**.
85+
>
86+
> If you want to include `kandy`, list it **after** `dataframe`:
87+
> ```kotlin
88+
> %useLatestDescriptors
89+
> %use dataframe, kandy
90+
> // or
91+
> %use dataframe(1.0.0-Beta4n), kandy(0.8.3)
92+
> ```
93+
> {style="warning"}
94+
8695
## Hello World
8796
8897
Let’s create your first [`DataFrame`](DataFrame.md) in the notebook — a simple "Hello, World!" style example:

0 commit comments

Comments
 (0)