Skip to content

Commit 11e17b7

Browse files
feat: update Notebook docs (#5089)
* update Notebook docs * Danil review * Danil review round 2
1 parent 757f34c commit 11e17b7

10 files changed

+81
-34
lines changed
317 KB
Loading
Lines changed: 4 additions & 0 deletions
Loading

docs/topics/data-analysis-overview.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ Additionally, export your output charts in a matter of clicks.
3131

3232
## Notebooks
3333

34-
_Notebooks_ are interactive editors that integrate code, graphics, and text in a single environment. When using a notebook,
35-
you can run code cells and immediately see the output.
34+
A _notebook_ is an interactive document where you can mix executable Kotlin code with text, visualizations, and results.
35+
Think of it as a Kotlin REPL extended with the ability to organize your code into cells, document it with Markdown,
36+
and immediately display outputs (from text to plots) alongside the code that produced them.
3637

3738
Kotlin offers different notebook solutions, such as [Kotlin Notebook](#kotlin-notebook), [Datalore](#kotlin-notebooks-in-datalore),
3839
and [Kotlin-Jupyter Notebook](#jupyter-notebook-with-kotlin-kernel), providing convenient features for data retrieving, transformation, exploration, modeling, and more.

docs/topics/data-analysis/data-analysis-connect-to-db.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ see [Set up an environment](kotlin-notebook-set-up-env.md).
1818
Create a new Kotlin Notebook:
1919

2020
1. Select **File** | **New** | **Kotlin Notebook**.
21+
2122
2. Ensure you have access to an SQL database, such as MariaDB or MySQL.
2223

2324
## Connect to database

docs/topics/data-analysis/data-analysis-visualization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ see [Set up an environment](kotlin-notebook-set-up-env.md).
1717
Create a new Kotlin Notebook:
1818

1919
1. Select **File** | **New** | **Kotlin Notebook**.
20+
2021
2. In your notebook, import the Kandy and Kotlin DataFrame libraries by running the following command:
2122

2223
```kotlin

docs/topics/data-analysis/data-analysis-work-with-api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ see [Set up an environment](kotlin-notebook-set-up-env.md).
2222
Create a new Kotlin Notebook:
2323

2424
1. Select **File** | **New** | **Kotlin Notebook**.
25+
2526
2. In the Kotlin Notebook, import the Kotlin DataFrame library by running the following command:
2627

2728
```kotlin
2829
%use dataframe
2930
```
30-
31+
3132
## Fetch data from an API
3233

3334
Fetching data from APIs using the Kotlin Notebook with the Kotlin DataFrame library is achieved through the [`.read()`](https://kotlin.github.io/dataframe/read.html)

docs/topics/data-analysis/data-analysis-work-with-data-sources.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ see [Set up an environment](kotlin-notebook-set-up-env.md).
2222
Create a new Kotlin Notebook:
2323

2424
1. Select **File** | **New** | **Kotlin Notebook**.
25+
2526
2. In the Kotlin Notebook, import the Kotlin DataFrame library by running the following command:
2627

2728
```kotlin

docs/topics/data-analysis/kotlin-notebook-add-dependencies.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ You can also use the autocompletion feature in Kotlin Notebook to quickly access
3434

3535
![Autocompletion feature in Kotlin Notebook](autocompletion-feature-notebook.png){width=700}
3636

37+
> Kotlin Notebook has a set of integrated libraries to perform various tasks, from deep learning to HTTP networking.
38+
> See [Import supported libraries](https://www.jetbrains.com/help/idea/kotlin-notebook.html#import-libraries).
39+
>
40+
> You can also add and use libraries that are not yet integrated into Kotlin Notebook. See [Integrate new libraries](https://www.jetbrains.com/help/idea/kotlin-notebook.html#integrate-new-libraries).
41+
>
42+
{style="note"}
43+
3744
## Add Kotlin DataFrame and Kandy libraries to your Kotlin Notebook
3845

3946
Let's add two popular Kotlin library dependencies to your Kotlin Notebook:

0 commit comments

Comments
 (0)