-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbcfd52
commit be7437a
Showing
13 changed files
with
228 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Deploy Docs | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pages: write | ||
id-token: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python envs | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements-web.txt | ||
- name: Build website | ||
run: | | ||
sphinx-build -b html ./ ./_build/html | ||
touch ./_build/html/.nojekyll | ||
# Upload the book's HTML as an artifact | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: "_build/html" | ||
|
||
# Deploy the book's HTML to GitHub Pages | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Build the Doc | ||
|
||
## Environment Setup | ||
|
||
Install the dependencies listed in `requirements-doc.txt`. This includes tools to build this doc. | ||
|
||
Navigate to the project folder and build the project: | ||
|
||
```bash | ||
cd docs | ||
sphinx-build -b html ./ ./_build/html | ||
``` | ||
|
||
Web-related files will be generated in the `docs/_build` directory. | ||
|
||
## Start HTTP Server | ||
|
||
After building the HTML files, you can use the built-in HTTP Server in Python and open http://127.0.0.1:8000 in your browser to view the result: | ||
|
||
```bash | ||
cd _build/html | ||
python -m http.server 8000 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
html[data-theme="light"] { | ||
--sbt-color-announcement: rgb(125, 125, 125); | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
format: jb-book | ||
root: index | ||
parts: | ||
- caption: DataFrame | ||
chapters: | ||
- file: dataframe/dataframe | ||
|
||
- caption: Performance | ||
chapters: | ||
- file: perf/ad-hoc-query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
author = 'DF-Eval Team' | ||
bibtex_bibfiles = ['references.bib'] | ||
bibtex_reference_style = 'author_year' | ||
comments_config = {'hypothesis': False, 'utterances': False} | ||
copyright = '2023-2024' | ||
exclude_patterns = ['**.ipynb_checkpoints', '.DS_Store', 'Thumbs.db', '_build'] | ||
extensions = ['sphinx_togglebutton', 'sphinx_copybutton', 'myst_nb', 'jupyter_book', 'sphinx_thebe', 'sphinx_comments', 'sphinx_external_toc', 'sphinx.ext.intersphinx', 'sphinx_design', 'sphinx_book_theme', 'sphinxcontrib.bibtex', 'sphinx_jupyterbook_latex'] | ||
external_toc_exclude_missing = True | ||
external_toc_path = '_toc.yml' | ||
html_baseurl = '' | ||
html_favicon = "_static/logo.ico" | ||
html_logo = 'logo.svg' | ||
html_sourcelink_suffix = '' | ||
html_theme = 'sphinx_book_theme' | ||
html_theme_options = { | ||
'search_bar_text': 'Search...', | ||
'path_to_docs': 'docs', | ||
'repository_url': 'https://github.com/godaai/df-eval', | ||
'repository_branch': 'main', | ||
'extra_footer': '', | ||
'home_page_in_toc': True, | ||
'announcement': "If you find this page helpful,please star us on <a href=\"https://github.com/godaai/df-eval\">GitHub</a>.", | ||
'analytics': {'google_analytics_id': ''}, | ||
'use_repository_button': True, | ||
'use_edit_page_button': False, | ||
'use_issues_button': False, | ||
"toc_title": "In this page", | ||
} | ||
html_static_path = ["_static"] | ||
html_css_files = ["custom.css"] | ||
html_js_files = [ | ||
"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js", | ||
] | ||
html_title = 'DF-Eval' | ||
latex_engine = 'pdflatex' | ||
myst_enable_extensions = ['colon_fence', 'dollarmath', 'linkify', 'substitution', 'tasklist'] | ||
myst_url_schemes = ['mailto', 'http', 'https'] | ||
nb_execution_allow_errors = False | ||
nb_execution_cache_path = '' | ||
nb_execution_excludepatterns = [] | ||
nb_execution_in_temp = False | ||
nb_execution_mode = 'off' | ||
nb_execution_timeout = 30 | ||
nb_output_stderr = 'show' | ||
numfig = False | ||
pygments_style = 'sphinx' | ||
suppress_warnings = ['myst.domains'] | ||
use_jupyterbook_latex = True | ||
use_multitoc_numbering = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(sec-dataframe)= | ||
# What's DataFrame | ||
|
||
In recent years, the convenience of DataFrames has made them the tool of choice for data scientists to perform a variety of tasks, from data loading, cleaning, and wrangling to statistical modeling and visualization. [pandas](https://pandas.pydata.org/), the most popular DataFrame system, is the de facto standard. It is widely used by data scientists as it is easy to use, even users with little or no experience in Python programming can quickly learn how to do data analysis. It provides a powerful set of tools for data manipulation, including filtering, merging, grouping, and aggregating data. | ||
|
||
## DataFrame Algebra |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# DF-Eval | ||
|
||
::::{grid} 2 | ||
:reverse: | ||
|
||
:::{grid-item} | ||
:columns: 3 | ||
:class: sd-m-auto | ||
|
||
|
||
::: | ||
|
||
:::{grid-item} | ||
:columns: 9 | ||
:class: sd-fs-3 | ||
|
||
A multi-level, multi-dimensional evaluation suite for DataFrame systems. | ||
|
||
% The SVG rendering breaks latex builds for the GitHub badge, so only include in HTML | ||
```{only} html | ||
[](https://github.com/godaai/dv-eval) | ||
``` | ||
|
||
::: | ||
|
||
:::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(sec-ad-hoc-query)= | ||
# Ad-hoc Query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
jupyter-book | ||
sphinx_togglebutton | ||
sphinx_copybutton | ||
myst_nb | ||
sphinx_comments | ||
sphinx_external_toc | ||
sphinx_design | ||
sphinx_book_theme | ||
sphinxcontrib-bibtex | ||
sphinx-jupyterbook-latex | ||
sphinxcontrib-jsmath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.