github Kotlin/dataframe v1.0.0-rc02

latest release: build-11728
4 hours ago

Kotlin DataFrame 1.0.0-rc02 is released!

What’s new?

  • Simplified dataframe-geo setup in user projects: no need to manually add geotools dependencies, required geometry and CRS types are now exposed as transitive API.
  • Arrow/Parquet: timestamps with a time zone are read as Instant; nullable struct columns are read correctly.
  • Large documentation push: KDocs, tests and website pages for dozens of operations (valueCounts, reverse, transpose, xs, single, indices, unfold, concat, forEach, duplicate, associate, sum, mean, min/max, and more).
  • Besides that, every operation KDoc now has a link to the website.
  • Improved groupBy performance and memory allocations.
  • Compiler plugin now evaluates schema changes in String API overload calls
  • Kotlin Toolchain now supports DataFrame compiler plugin out of the box. Project setup to enable both core dependency and compiler plugin is as simple as this:
settings:
  kotlin:
    dataframe: enabled

Check Setup Kotlin DataFrame in Kotlin Toolchain.

And many other improvements and fixes! See below for a complete list of changes in this release grouped by category.

We invite you to try this release:

  • Use the 1.0.0-rc02 version in your Gradle, Maven and Kotlin Toolchain projects:
  • Use the special 1.0.0-rc02n version in Kotlin Notebook. The n version includes a patch that resolves notebook specific issue with statistical functions.
    • You can specify the version in the descriptor or use %useLatestDescriptors.
      If you want to include kandy, list it after dataframe:
      %useLatestDescriptors
      %use dataframe, kandy
      // or
      %use dataframe(1.0.0-rc02n), kandy(0.8.6, 0.8.6)
    • Use kernel version 0.16.0-736 or newer.

Features

  • Exposed GeoDataFrame geometry and CRS types to consumers by @zaleslaw in #2055
  • Read Arrow/Parquet timestamps with a time zone as Instant by @zaleslaw in #2063
  • Added support for Reorder plus site and tests updates by @zaleslaw in #2130
  • Improved diagnostics for missing POI service descriptors in fat JARs by @Allex-Nik in #2084
  • Defined append behavior on some corner cases and added tests by @Allex-Nik in #2061

Removals and Deprecations

  • Removed TraversePropertiesDsl from top-level toDataFrame {} operation by @zaleslaw with @Copilot in #2004
  • Inlined ColumnFilter typealias in public API function signatures by @zaleslaw with @Copilot in #2003
  • Migrated NamedValue.copy visibility according to future Kotlin 2.5 requirement by @koperagen in #2014
  • Documented deprecation of BigDecimal and BigInteger statistics by @AndreiKingsley in #2077

Compiler plugin

Fixes and other changes

Documentation and Examples

New Contributors

@zaleslaw with @Copilot made their first contribution in #2004
@jetbrains-air[bot] made their first contribution in #2051
@chimission made their first contribution in #2037

Full Changelog: 1.0.0-rc01...v1.0.0-rc02

Don't miss a new dataframe release

NewReleases is sending notifications on new releases.