dataframe
dataframe copied to clipboard
Structured data processing in Kotlin
Context receivers are a proposed Kotlin feature: https://github.com/Kotlin/KEEP/issues/259. DataFrame could greatly benefit if this feature ever gets added properly since it's built around so many DSLs. Oftentimes we are limited...
If you have a `DataFrame` consisting of a mix of `Number` types, calling `median` on it will break. Example: ``` val df = dataFrameOf("a")( 1, 2L, 2.0f, 3.0, ) df.median("a")...
```kt dataFrameOf("address")( "12 Street A", "124346 Street B" ) .split("address") .by(' ', limit = 2) .into(column("number"), column("street")) // number: String // street: String ``` Split into allows you to specify...
Especially in the [Columns Selection DSL](https://github.com/Kotlin/dataframe/pull/372) the library allows the user to create column accessors using either the constructors `column()`, `columnGroup()`, etc. from [constructors.kt](https://github.com/Kotlin/dataframe/blob/master/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/constructors.kt) as well as `col()`, `colGroup()`, ""(),...
https://kotlin.github.io/dataframe/split.html#split-horizontally NOTE: it should be deleted
Now, the example project `examples-jdbc` is commented in `settings.gradle.kts`.
Currently, numbers are inferred similar to type inference in Kotlin. For instance: ```kt DataFrame.readJsonStr("""[ { "a": 1 }, { "a": 1.0 } ]""") ``` results in a column: `a: Number`....
``` Execution failed for task ':core:processKDocsMain'. java.nio.file.InvalidPathException: Illegal char < > at index 32: C:\Program Files\Git\cmd\git.exe C:\Program Files\Git\bin\git.exe ``` @Jolanrensen I think you said it required fix from Gradle Git...
`df.rename { col }.into("newName")` is not very common English. I always want to type `to` instead of `into`, so my suggestion is to rename this function. The most used prepositions...
There are a lot of parallels between the Column(s) Selection DSL and Row(Value)Expressions as both allow you to reference columns. The difference being that referencing a column on a DataRow...