{ "cells": [ { "metadata": {}, "cell_type": "markdown", "source": "# Kotlin DataFrame in Kotlin Notebook simple example" }, { "metadata": {}, "cell_type": "markdown", "source": [ "## How to run it?\n", "\n", "See [Get started with Kotlin DataFrame in Kotlin Notebook](https://kotlin.github.io/dataframe/gettingstartedkotlinnotebook.html)." ] }, { "metadata": { "ExecuteTime": { "end_time": "2025-09-15T13:05:08.403461090Z", "start_time": "2025-09-15T13:05:01.072028643Z" } }, "cell_type": "code", "source": [ "%useLatestDescriptors\n", "%use dataframe" ], "outputs": [], "execution_count": 1 }, { "cell_type": "code", "metadata": { "collapsed": true, "ExecuteTime": { "end_time": "2025-09-15T13:05:12.183943393Z", "start_time": "2025-09-15T13:05:08.406404920Z" } }, "source": [ "val df = DataFrame\n", " // Read DataFrame from the CSV file.\n", " .readCsv(\"https://raw.githubusercontent.com/Kotlin/dataframe/master/data/jetbrains_repositories.csv\")\n", " // Rename column names to CamelCase.\n", " .renameToCamelCase()\n", "df" ], "outputs": [ { "data": { "text/html": [ " \n", " \n", "
\n", " \n", " \n", " \n", "| fullName | htmlUrl | stargazersCount | topics | watchers |
|---|---|---|---|---|
| JetBrains/JPS | https://github.com/JetBrains/JPS | 23 | [] | 23 |
| JetBrains/YouTrackSharp | https://github.com/JetBrains/YouTrack... | 115 | [jetbrains, jetbrains-youtrack, youtr... | 115 |
| JetBrains/colorSchemeTool | https://github.com/JetBrains/colorSch... | 290 | [] | 290 |
| JetBrains/ideavim | https://github.com/JetBrains/ideavim | 6120 | [ideavim, intellij, intellij-platform... | 6120 |
| JetBrains/youtrack-vcs-hooks | https://github.com/JetBrains/youtrack... | 5 | [] | 5 |
| JetBrains/youtrack-rest-ruby-library | https://github.com/JetBrains/youtrack... | 8 | [] | 8 |
| JetBrains/emacs4ij | https://github.com/JetBrains/emacs4ij | 47 | [] | 47 |
| JetBrains/codereview4intellij | https://github.com/JetBrains/coderevi... | 11 | [] | 11 |
| JetBrains/teamcity-nuget-support | https://github.com/JetBrains/teamcity... | 41 | [nuget, nuget-feed, teamcity, teamcit... | 41 |
| JetBrains/Grammar-Kit | https://github.com/JetBrains/Grammar-Kit | 534 | [] | 534 |
| JetBrains/intellij-starteam-plugin | https://github.com/JetBrains/intellij... | 6 | [] | 6 |
| JetBrains/la-clojure | https://github.com/JetBrains/la-clojure | 218 | [] | 218 |
| JetBrains/MPS | https://github.com/JetBrains/MPS | 1241 | [domain-specific-language, dsl] | 1241 |
| JetBrains/intellij-community | https://github.com/JetBrains/intellij... | 12926 | [code-editor, ide, intellij, intellij... | 12926 |
| JetBrains/TeamCity.ServiceMessages | https://github.com/JetBrains/TeamCity... | 39 | [c-sharp, teamcity, teamcity-service-... | 39 |
| JetBrains/youtrack-rest-python-library | https://github.com/JetBrains/youtrack... | 118 | [] | 118 |
| JetBrains/intellij-scala | https://github.com/JetBrains/intellij... | 1066 | [intellij-idea, intellij-plugin, scala] | 1066 |
| JetBrains/teamcity-messages | https://github.com/JetBrains/teamcity... | 125 | [] | 125 |
| JetBrains/teamcity-cpp | https://github.com/JetBrains/teamcity... | 27 | [] | 27 |
| JetBrains/kotlin | https://github.com/JetBrains/kotlin | 39402 | [compiler, gradle-plugin, intellij-pl... | 39402 |
| fullName | htmlUrl | stars | topics | watchers |
|---|---|---|---|---|
| JetBrains/JPS | https://github.com/JetBrains/JPS | 23 | [ ] | 23 |
| JetBrains/YouTrackSharp | https://github.com/JetBrains/YouTrack... | 115 | [jetbrains, jetbrains-youtrack, youtr... | 115 |
| JetBrains/colorSchemeTool | https://github.com/JetBrains/colorSch... | 290 | [ ] | 290 |
| JetBrains/ideavim | https://github.com/JetBrains/ideavim | 6120 | [ideavim, intellij, intellij-platform... | 6120 |
| JetBrains/youtrack-vcs-hooks | https://github.com/JetBrains/youtrack... | 5 | [ ] | 5 |
| JetBrains/youtrack-rest-ruby-library | https://github.com/JetBrains/youtrack... | 8 | [ ] | 8 |
| JetBrains/emacs4ij | https://github.com/JetBrains/emacs4ij | 47 | [ ] | 47 |
| JetBrains/codereview4intellij | https://github.com/JetBrains/coderevi... | 11 | [ ] | 11 |
| JetBrains/teamcity-nuget-support | https://github.com/JetBrains/teamcity... | 41 | [nuget, nuget-feed, teamcity, teamcit... | 41 |
| JetBrains/Grammar-Kit | https://github.com/JetBrains/Grammar-Kit | 534 | [ ] | 534 |
| JetBrains/intellij-starteam-plugin | https://github.com/JetBrains/intellij... | 6 | [ ] | 6 |
| JetBrains/la-clojure | https://github.com/JetBrains/la-clojure | 218 | [ ] | 218 |
| JetBrains/MPS | https://github.com/JetBrains/MPS | 1241 | [domain-specific-language, dsl] | 1241 |
| JetBrains/intellij-community | https://github.com/JetBrains/intellij... | 12926 | [code-editor, ide, intellij, intellij... | 12926 |
| JetBrains/TeamCity.ServiceMessages | https://github.com/JetBrains/TeamCity... | 39 | [c-sharp, teamcity, teamcity-service-... | 39 |
| JetBrains/youtrack-rest-python-library | https://github.com/JetBrains/youtrack... | 118 | [ ] | 118 |
| JetBrains/intellij-scala | https://github.com/JetBrains/intellij... | 1066 | [intellij-idea, intellij-plugin, scala] | 1066 |
| JetBrains/teamcity-messages | https://github.com/JetBrains/teamcity... | 125 | [ ] | 125 |
| JetBrains/teamcity-cpp | https://github.com/JetBrains/teamcity... | 27 | [ ] | 27 |
| JetBrains/kotlin | https://github.com/JetBrains/kotlin | 39402 | [compiler, gradle-plugin, intellij-pl... | 39402 |
| fullName | htmlUrl | stars | topics | watchers | topicCount |
|---|---|---|---|---|---|
| JetBrains/YouTrackSharp | https://github.com/JetBrains/YouTrack... | 115 | [jetbrains, jetbrains-youtrack, youtr... | 115 | 4 |
| JetBrains/colorSchemeTool | https://github.com/JetBrains/colorSch... | 290 | [ ] | 290 | 0 |
| JetBrains/ideavim | https://github.com/JetBrains/ideavim | 6120 | [ideavim, intellij, intellij-platform... | 6120 | 7 |
| JetBrains/Grammar-Kit | https://github.com/JetBrains/Grammar-Kit | 534 | [ ] | 534 | 0 |
| JetBrains/la-clojure | https://github.com/JetBrains/la-clojure | 218 | [ ] | 218 | 0 |
| JetBrains/MPS | https://github.com/JetBrains/MPS | 1241 | [domain-specific-language, dsl] | 1241 | 2 |
| JetBrains/intellij-community | https://github.com/JetBrains/intellij... | 12926 | [code-editor, ide, intellij, intellij... | 12926 | 5 |
| JetBrains/youtrack-rest-python-library | https://github.com/JetBrains/youtrack... | 118 | [ ] | 118 | 0 |
| JetBrains/intellij-scala | https://github.com/JetBrains/intellij... | 1066 | [intellij-idea, intellij-plugin, scala] | 1066 | 3 |
| JetBrains/teamcity-messages | https://github.com/JetBrains/teamcity... | 125 | [ ] | 125 | 0 |
| JetBrains/kotlin | https://github.com/JetBrains/kotlin | 39402 | [compiler, gradle-plugin, intellij-pl... | 39402 | 7 |
| JetBrains/kotlin-web-demo | https://github.com/JetBrains/kotlin-w... | 167 | [ ] | 167 | 0 |
| JetBrains/intellij-plugin-verifier | https://github.com/JetBrains/intellij... | 113 | [ ] | 113 | 0 |
| JetBrains/intellij-samples | https://github.com/JetBrains/intellij... | 146 | [ ] | 146 | 0 |
| JetBrains/youtrack-workflows | https://github.com/JetBrains/youtrack... | 164 | [ ] | 164 | 0 |
| JetBrains/intellij-plugins | https://github.com/JetBrains/intellij... | 1737 | [ ] | 1737 | 0 |
| JetBrains/resharper-nuget | https://github.com/JetBrains/resharpe... | 94 | [jetbrains, nuget, resharper, resharp... | 94 | 5 |
| JetBrains/mnemonics | https://github.com/JetBrains/mnemonics | 66 | [jetbrains, mnemonic, resharper, resh... | 66 | 5 |
| JetBrains/kara | https://github.com/JetBrains/kara | 76 | [ ] | 76 | 0 |
| JetBrains/jediterm | https://github.com/JetBrains/jediterm | 483 | [ ] | 483 | 0 |