Skip to content

Commit

Permalink
basic updates
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed Aug 29, 2022
1 parent a6d4105 commit e6f686b
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 21 deletions.
38 changes: 30 additions & 8 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ project:
- guide/*.qmd
- api/*.qmd
- examples/*.qmd
#- about/*.qmd
- about/*.qmd
- develop/*.qmd
- develop/*.ipynb
resources:
- api/**

website:
title: "Siuba"
Expand All @@ -16,13 +20,15 @@ website:
left:
- text: "Guide"
file: guide/overview.qmd
# - text: "API"
# href: api/index.qmd
# - text: "Examples"
# href: examples/index.qmd
# - text: "About"
# menu:
# - about/key_features.qmd
- text: "Reference"
href: api/
- text: "Examples"
href: examples/index.qmd
- text: "Develop"
href: develop/index.qmd
- text: "About"
menu:
- about/key_features.qmd
right:
- icon: github
href: https://github.com/machow/siuba/
Expand Down Expand Up @@ -73,6 +79,22 @@ website:
contents:
- guide/extra-r-to-python.qmd
# - guide/guide_programming.qmd
- id: develop
style: floating
collapse-level: 2
align: left
contents:
- develop/index.qmd
- section: "Backends"
contents:
- develop/backend_sql.qmd
- develop/backend_pandas.qmd
- section: "Core"
contents:
- develop/guide_programming.qmd
- develop/sql-translators.ipynb
- develop/call_trees.qmd
- develop/pandas-group-ops.qmd
- id: dummy

format:
Expand Down
7 changes: 4 additions & 3 deletions about/key_features.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ execute:
format:
html:
toc-depth: 3
toc-title: wat
jupyter:
jupytext:
formats: 'qmd:quarto'
Expand Down Expand Up @@ -81,7 +80,7 @@ table = tabulate.tabulate([
</div>


### Built on pandas
## Built on pandas

pandas is everywhere in python data analysis. The siuba library builds on this incredible work by using pandas Series methods as its reference implementation. This means that you use the pandas methods you've already learned!

Expand Down Expand Up @@ -196,7 +195,7 @@ mtcars.assign(demeaned = g_cyl.obj.hp - g_cyl.hp.transform("mean"))

Note that `g_cyl` does not have an `assign` method, and requires passing what operation you want to do (`"mean"`) as a string to `.transform()`.

### Going beyond
## Fast and flexible

### Fast grouped operations

Expand Down Expand Up @@ -318,3 +317,5 @@ tagged = pd.DataFrame({
>> unnest("split_tags")
)
```

## Learning more
7 changes: 0 additions & 7 deletions api/index.qmd

This file was deleted.

5 changes: 2 additions & 3 deletions guide/workflows-backends.qmd
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Backend Examples 🚧
title: "Backend Examples 🚧"
jupyter:
jupytext:
formats: 'qmd:quarto'
text_representation:
extension: .qmd
format_name: quarto
format_version: '1.0'
jupytext_version: 1.14.0
jupytext_version: 1.13.6
kernelspec:
display_name: Python 3 (ipykernel)
language: python
Expand Down Expand Up @@ -55,6 +55,5 @@ tbl_filtered
```

```{python}
q = tbl_filtered >> show_query(simplify=True)
```

0 comments on commit e6f686b

Please sign in to comment.