Skip to content

Latest commit

 

History

History
 
 

core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

:core

This is the core of the library, published as the dataframe-core package. It contains the DataFrame API and its implementation, as well as plenty of JUnit tests.

I/O operations are split off into other modules, like :dataframe-excel, or :dataframe-jdbc, however, this is has not happened yet for all operations (see Issue #100).

At the moment, these integrations are still part of the :core module:

  • csv/tsv
  • html
  • json
  • jupyter

Korro code samples

Code samples for the documentation website reside in core/.../test/.../samples/api (for samples that depend solely on dataframe-core), and tests/.../samples/api (for samples can depend on other I/O modules) and they are copied over to Markdown files in docs/StardustDocs/topics by Korro.

Explainer dataframes

Aside from code samples, @TransformDataFrameExpressions annotated test functions also generate sample dataframe HTML files that can be used as iFrames on the documentation website. They are tested, generated, and copied over to docs/StardustDocs/snippets by our "explainer" plugin callback proxy, which hooks into the TestBase class and retrieves the intermediate DataFrame expressions thanks to our "explainer" compiler plugin :plugins:expressions-converter.

We can also generate "normal" DataFrame samples for the website. This can be done using the OtherSamples class. Generated HTML files will be stored in docs/StardustDocs/snippets/manual.

KDoc Preprocesor

The code you're working on needs to be edited in src, but the KDocs are processed by the KDoc Preprocessor when the project is published (or the task is run manually). The generated sources with adjusted KDocs will be overwritten in generated-sources. See the KDoc Preprocessing Guide 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/snippets/kdocs.