Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
1e58c54
add kdf plugin
AndreiKingsley Aug 26, 2025
2c0f5b7
any samples
AndreiKingsley Aug 26, 2025
e6d715b
any samples tests
AndreiKingsley Aug 27, 2025
ea652b1
any docs
AndreiKingsley Aug 27, 2025
63b1044
any resources
AndreiKingsley Aug 27, 2025
e461d3f
any related operations
AndreiKingsley Aug 28, 2025
d7b2dee
all docs
AndreiKingsley Aug 28, 2025
f164903
korro docs fix
AndreiKingsley Aug 28, 2025
e13c039
rowCondition definition
AndreiKingsley Aug 28, 2025
f58adb0
update related operations
AndreiKingsley Aug 28, 2025
16df339
asSequence
AndreiKingsley Aug 28, 2025
5587e3d
update `tests` module
AndreiKingsley Aug 28, 2025
41e9568
rename "tests" module to "samples"
AndreiKingsley Aug 28, 2025
cb48406
Merge branch 'master' into util_functions_docs
AndreiKingsley Aug 30, 2025
82f7f33
Merge branch 'master' into util_functions_docs
AndreiKingsley Aug 30, 2025
95b4b60
update iframes
AndreiKingsley Aug 30, 2025
2e70ea5
update iframes
AndreiKingsley Aug 30, 2025
b10ff23
update iframes
AndreiKingsley Aug 30, 2025
3494f53
update iframes
AndreiKingsley Sep 1, 2025
a13ca5b
asIterable asSequence docs
AndreiKingsley Sep 1, 2025
ac84dfa
associate docs
AndreiKingsley Sep 1, 2025
1c40dcf
associate docs fixes
AndreiKingsley Sep 1, 2025
851433a
update build script
AndreiKingsley Sep 1, 2025
f193ae8
update korro
AndreiKingsley Sep 1, 2025
b90b67c
fix explainer
AndreiKingsley Sep 1, 2025
cae7be0
format iframes
AndreiKingsley Sep 1, 2025
c5d6a83
associate docs
AndreiKingsley Sep 1, 2025
bc3916c
update shadow resources
AndreiKingsley Sep 1, 2025
159a3ef
update formated iframes
AndreiKingsley Sep 2, 2025
e3ae7bc
exclude transitive df dependency in Kandy
AndreiKingsley Sep 2, 2025
09d3512
between and chunked docs
AndreiKingsley Sep 3, 2025
15060e8
chunked topic
AndreiKingsley Sep 3, 2025
21454ee
chunked and between examples
AndreiKingsley Sep 3, 2025
d56d257
chunked and between korro
AndreiKingsley Sep 3, 2025
a59b76a
chunked and between iframes to resources
AndreiKingsley Sep 3, 2025
3db0e92
chunked and between docs update
AndreiKingsley Sep 3, 2025
7b431a5
chunked and between docs code update
AndreiKingsley Sep 3, 2025
94ae25a
shuffle and tail docs
AndreiKingsley Sep 3, 2025
7519dbd
update resources
AndreiKingsley Sep 3, 2025
d19af9a
Utils topic
AndreiKingsley Sep 3, 2025
2465c61
update examples
AndreiKingsley Sep 3, 2025
e0c157f
update examples code korro
AndreiKingsley Sep 3, 2025
43cb6ec
remove macos .DS_Store
AndreiKingsley Sep 3, 2025
dd556a8
Merge branch 'master' into util_functions_docs
AndreiKingsley Sep 3, 2025
34648eb
remove macos .DS_Store from resources
AndreiKingsley Sep 3, 2025
a037993
ktlint format
AndreiKingsley Sep 3, 2025
ed1753d
update readme
AndreiKingsley Sep 5, 2025
f398edf
update readme grammatics
AndreiKingsley Sep 5, 2025
3675a6f
remove kdf plugin from samples
AndreiKingsley Sep 5, 2025
3215c43
ktlint format
AndreiKingsley Sep 5, 2025
e3d0e01
enable kdf plugin
AndreiKingsley Sep 5, 2025
55fb5de
docs fixes
AndreiKingsley Sep 5, 2025
6a16777
Merge branch 'master' into util_functions_docs
Jolanrensen Sep 8, 2025
508e0c5
update core readme
AndreiKingsley Sep 8, 2025
a4cd55b
Merge remote-tracking branch 'origin/util_functions_docs' into util_f…
AndreiKingsley Sep 8, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
build
.ipynb_checkpoints
local.properties

# macOS
.DS_Store
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ plugins {
// dependence on our own plugin
alias(dataframe) apply false
alias(ksp) apply false

alias(dataframePlugin) apply false
}
}

Expand Down Expand Up @@ -158,7 +160,7 @@ val modulesUsingJava11 = with(projects) {
dataframeGeoJupyter,
examples.ideaExamples.titanic,
examples.ideaExamples.unsupportedDataSources,
tests,
samples,
plugins.dataframeGradlePlugin,
)
}.map { it.path }
Expand Down
40 changes: 21 additions & 19 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,29 @@ At the moment, these integrations are still part of the `:core` module:
- (deprecated) csv/tsv
- html

### Korro code samples
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While they are still here, I'd keep the docs but mark that they are being moved to :samples, potentially linking an issue number. At the moment they are still here, right?

### KoDEx

The code you're working on needs to be edited in [src](src), but the KDocs are processed by
[KoDEx](https://github.com/Jolanrensen/kodex) when the project is published (or the task
is run manually). The generated sources with adjusted KDocs will be overwritten
in [generated-sources](generated-sources).
See the [KDoc Preprocessing Guide](../KDOC_PREPROCESSING.md) for more information.

KDocs can also be exported to HTML, for them to be reused on the website.
Elements annotated with `@ExportAsHtml` will have their generated content be copied over to
[docs/StardustDocs/resources/snippets/kdocs](../docs/StardustDocs/resources/snippets/kdocs).

### ~~Korro~~ (NOTE: This is being moved to [:samples](../samples))

> [Should be removed and moved to `:samples` module](https://github.com/Kotlin/dataframe/issues/898).

Tests in this module contain code samples used for import into documentation
using [Korro](https://github.com/devcrocod/korro).

Code samples for the documentation website reside
in [core/.../test/.../samples/api](./src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api) (for samples that depend solely on `dataframe-core`),
and [tests/.../samples/api](../tests/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api) (for samples can depend on other I/O modules)
and they are copied over to Markdown files in [docs/StardustDocs/topics](../docs/StardustDocs/topics)
by [Korro](https://github.com/devcrocod/korro).

### ~~Explainer dataframes~~ NOTE: This is being moved to [tests](../tests)
### ~~Explainer dataframes~~ (NOTE: This is being moved to [:samples](../samples))

> [Should be removed and migrated to SampleHelper](https://github.com/Kotlin/dataframe/issues/898).

Aside from code samples, `@TransformDataFrameExpressions` annotated test functions also generate sample
dataframe HTML files that can be used as iFrames on the documentation website.
Expand All @@ -31,15 +45,3 @@ retrieves the intermediate DataFrame expressions thanks to our "explainer" compi
We can also generate "normal" DataFrame samples for the website. This can be done using the
[OtherSamples class](./src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/OtherSamples.kt). Generated
HTML files will be stored in [docs/StardustDocs/resources/snippets/manual](../docs/StardustDocs/resources/snippets/manual).

### KoDEx

The code you're working on needs to be edited in [src](src), but the KDocs are processed by
[KoDEx](https://github.com/Jolanrensen/kodex) when the project is published (or the task
is run manually). The generated sources with adjusted KDocs will be overwritten
in [generated-sources](generated-sources).
See the [KDoc Preprocessing Guide](../KDOC_PREPROCESSING.md) for more information.

KDocs can also be exported to HTML, for them to be reused on the website.
Elements annotated with `@ExportAsHtml` will have their generated content be copied over to
[docs/StardustDocs/resources/snippets/kdocs](../docs/StardustDocs/resources/snippets/kdocs).
14 changes: 13 additions & 1 deletion docs/StardustDocs/d.tree
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<toc-element topic="columnNames.md"/>
<toc-element topic="columnTypes.md"/>
<toc-element topic="head.md"/>
<toc-element topic="tail.md"/>
<toc-element topic="schema.md"/>
<toc-element topic="describe.md"/>
</toc-element>
Expand All @@ -84,6 +85,7 @@
<toc-element topic="last.md"/>
<toc-element topic="minBy.md"/>
<toc-element topic="maxBy.md"/>
<toc-element topic="asSequence.md"/>
</toc-element>
<toc-element topic="getColumns.md">
<toc-element topic="columns.md"/>
Expand Down Expand Up @@ -127,7 +129,6 @@
<toc-element topic="replace.md"/>
<toc-element topic="reverse.md"/>
<toc-element topic="select.md"/>
<toc-element topic="shuffle.md"/>
<toc-element topic="sliceRows.md"/>
<toc-element topic="sortBy.md"/>
<toc-element topic="split.md"/>
Expand Down Expand Up @@ -178,11 +179,22 @@
<toc-element topic="columnOperations.md">
<toc-element topic="columnArithmetics.md" toc-title="Arithmetics"/>
<toc-element topic="columnStatistics.md" toc-title="Statistics"/>
<toc-element topic="asIterable.md"/>
<toc-element topic="asSequenceColumn.md" toc-title="asSequence"/>
<toc-element topic="between.md"/>
</toc-element>
<toc-element topic="ColumnSelectors.md"/>
<toc-element topic="Utils.md">
<toc-element topic="any.md"/>
<toc-element topic="all.md"/>
<toc-element topic="chunked.md"/>
<toc-element topic="shuffle.md"/>
</toc-element>
<toc-element topic="collectionsInterop.md">
<toc-element topic="toList.md"/>
<toc-element topic="toMap.md"/>
<toc-element topic="associate.md"/>
<toc-element topic="associateBy.md"/>
</toc-element>
<toc-element topic="rendering.md">
<toc-element topic="toHTML.md"/>
Expand Down
Loading