5.9 KiB
Vendored
5.9 KiB
Vendored
Examples of Kotlin DataFrame
Idea examples
- Gradle plugin example IDEA project with a Kotlin DataFrame Compiler Plugin example.
- Maven plugin example IDEA project with a Kotlin DataFrame Compiler Plugin example.
- android example A minimal Android project showcasing integration with Kotlin DataFrame. Also includes Kotlin DataFrame Compiler Plugin.
- movies Using extension properties Access API to perform a data cleaning task
- titanic
- youtube
- json Using OpenAPI support in DataFrame's Gradle and KSP plugins to access data from API guru in a type-safe manner
- imdb sql database This project prominently showcases how to convert data from an SQL table to a Kotlin DataFrame and how to transform the result of an SQL query into a DataFrame.
- spark-parquet-dataframe This project showcases how to export data and ML models from Apache Spark via reading from Parquet files.
- unsupported-data-sources Showcases of how to use DataFrame with
(momentarily) unsupported data libraries such as Spark and Exposed.
They show how to convert to and from Kotlin DataFrame and their respective tables.
- JetBrains Exposed: See the exposed folder for an example of using Kotlin DataFrame with Exposed.
- Hibernate: See the hibernate folder for an example of using Kotlin DataFrame with Hibernate.
- Apache Spark: See the spark folder for an example of using Kotlin DataFrame with Spark and with the Kotlin Spark API.
- Multik: See the multik folder for an example of using Kotlin DataFrame with Multik.
Notebook examples
- people (Datalore) – Small artificial dataset used in DataFrame API examples
- puzzles (notebook/Datalore) – Inspired by 100 pandas puzzles. You will go from the simplest tasks to complex problems where need to think. This notebook will show you how to solve these tasks with the Kotlin Dataframe in a laconic, beautiful style.
- movies (notebook/Datalore) – In this notebook you can see the basic operations of the Kotlin DataFrame on data from movielens. You can take the data from the link.
- netflix (notebook/Datalore) – Explore TV shows and movies from Netflix with the powerful Kotlin DataFrame API and beautiful visualizations from lets-plot.
- github (notebook/Datalore) – This notebook shows the hierarchical dataframes look like and how to work with them.
- titanic (notebook/Datalore) – Let's see how the new library will show itself on the famous Titanic dataset.
- Financial Analyze of the top-12 German companies (notebook/Datalore) – Analyze key financial metrics for several major German companies.
- wine (notebook/Datalore) – Wine. Kotlin DataFrame. KotlinDL. What came out of this can be seen in this notebook.
- imdb sql database (notebook) – In this notebook, we use Kotlin DataFrame and Kandy library to analyze data from IMDB (SQL dump for the MariaDB database with the name "imdb" could be downloaded by this link).
- Feature Overviews notebook folder Overview of new features available a given version
The example notebooks always target the latest stable version of the library. Notebooks compatible with the latest dev/master version are located in the dev folder.
These dev versions are tested by the :dataframe-jupyter module.