From 9e2ab3e7ef283bedc58a573111f7d0499006a5f6 Mon Sep 17 00:00:00 2001 From: brandl Date: Fri, 13 Dec 2024 10:17:23 +0100 Subject: [PATCH] v1.0.4 release --- build.gradle.kts | 2 +- misc/kravis_release.md | 2 ++ src/main/kotlin/kravis/util/DeparseBuilder.kt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index fcdf9b1..6dfc77a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ plugins { group = "com.github.holgerbrandl" -version = "1.0.3" +version = "1.0.4" repositories { diff --git a/misc/kravis_release.md b/misc/kravis_release.md index 1b2a9ce..106241e 100644 --- a/misc/kravis_release.md +++ b/misc/kravis_release.md @@ -34,6 +34,8 @@ fi cd $KRAVIS_HOME +./gradlew check + git status git commit -am "${kravis_version} release" #git diff --exit-code || echo "There are uncomitted changes" diff --git a/src/main/kotlin/kravis/util/DeparseBuilder.kt b/src/main/kotlin/kravis/util/DeparseBuilder.kt index e5f37b9..54ebf50 100644 --- a/src/main/kotlin/kravis/util/DeparseBuilder.kt +++ b/src/main/kotlin/kravis/util/DeparseBuilder.kt @@ -37,7 +37,7 @@ fun DataFrame.Companion.fromRecords(records: Iterable, mapping: (T) -> Da columnData.forEach { colName, colData -> colData.add(record[colName]) } } - val map = columnData.map { (name, data) -> data.toColumn("data", Infer.Type) } + val map = columnData.map { (name, data) -> data.toColumn(name, Infer.Type) } return map.toDataFrame() }