You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check out the [custom setup page](https://kotlin.github.io/dataframe/gettingstartedgradleadvanced.html) if you don't need some of the formats as dependencies,
53
54
for Groovy, and for configurations specific to Android projects.
54
55
55
-
## Getting started
56
+
## Code example
56
57
57
58
```kotlin
58
59
importorg.jetbrains.kotlinx.dataframe.*
@@ -78,87 +79,7 @@ Follow this [guide](https://kotlin.github.io/dataframe/gettingstartedkotlinnoteb
78
79
*`ColumnGroup` — contains columns
79
80
*`FrameColumn` — contains dataframes
80
81
81
-
## Syntax example
82
-
83
-
Let us show you how data cleaning and aggregation pipelines could look like with DataFrame.
84
-
85
-
**Create:**
86
-
```kotlin
87
-
// create columns
88
-
val fromTo by columnOf("LoNDon_paris", "MAdrid_miLAN", "londON_StockhOlm", "Budapest_PaRis", "Brussels_londOn")
89
-
val flightNumber by columnOf(10045.0, Double.NaN, 10065.0, Double.NaN, 10085.0)
90
-
val recentDelays by columnOf("23,47", null, "24, 43, 87", "13", "67, 32")
91
-
val airline by columnOf("KLM(!)", "{Air France} (12)", "(British Airways. )", "12. Air France", "'Swiss Air'")
92
-
93
-
// create dataframe
94
-
val df = dataFrameOf(fromTo, flightNumber, recentDelays, airline)
Check it out on [**Datalore**](https://datalore.jetbrains.com/view/notebook/vq5j45KWkYiSQnACA2Ymij) to get a better visual impression of what happens and what the hierarchical dataframe structure looks like.
0 commit comments