Skip to content

Commit

Permalink
A few minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist committed May 15, 2024
1 parent 2a2a26e commit 52c594b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 18 deletions.
2 changes: 2 additions & 0 deletions 01 - Getting Started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### References\n",
"\n",
"1: Horst AM, Hill AP, Gorman KB (2020). palmerpenguins: Palmer Archipelago\n",
"(Antarctica) penguin data. R package version 0.1.0.\n",
"https://allisonhorst.github.io/palmerpenguins/. doi: 10.5281/zenodo.3960218."
Expand Down
12 changes: 6 additions & 6 deletions 02 - Ibis and the Python Ecosystem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,6 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Note that you don't have to use deferred expressions if you don't want to!\n",
"Queries using deferred expressions may always be expressed without them (using\n",
"either a `lambda` function, or an intermediate python variable) - they're there\n",
"as friendly \"syntactic sugar\" to ease writing complex queries when you need\n",
"them.\n",
"\n",
"#### Solution"
]
},
Expand All @@ -302,6 +296,12 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Note that you don't have to use deferred expressions if you don't want to!\n",
"Queries using deferred expressions may always be expressed without them (using\n",
"either a `lambda` function, or an intermediate python variable) - they're there\n",
"as friendly \"syntactic sugar\" to ease writing complex queries when you need\n",
"them.\n",
"\n",
"## Mixing memtables with database tables\n",
"\n",
"When querying a `memtable`, `ibis` will use the current default backend\n",
Expand Down
6 changes: 3 additions & 3 deletions 04 - Playing with PyPI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@
"cell_type": "code",
"metadata": {},
"source": [
"# %load solutions/nb04_ex05_counts.py"
"%load solutions/nb04_ex05_counts.py"
],
"execution_count": null,
"outputs": []
Expand All @@ -524,7 +524,7 @@
"cell_type": "code",
"metadata": {},
"source": [
"# %load solutions/nb04_ex05_ftw.py"
"%load solutions/nb04_ex05_ftw.py"
],
"execution_count": null,
"outputs": []
Expand All @@ -533,7 +533,7 @@
"cell_type": "code",
"metadata": {},
"source": [
"# %load solutions/nb04_ex05_ftw_maintainers.py"
"%load solutions/nb04_ex05_ftw_maintainers.py"
],
"execution_count": null,
"outputs": []
Expand Down
2 changes: 2 additions & 0 deletions quarto/01 - Getting Started.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,8 @@ Does what it says on the box -- drop the `NULL`s from a dataset.
penguins.dropna()
```

### References

1: Horst AM, Hill AP, Gorman KB (2020). palmerpenguins: Palmer Archipelago
(Antarctica) penguin data. R package version 0.1.0.
https://allisonhorst.github.io/palmerpenguins/. doi: 10.5281/zenodo.3960218.
12 changes: 6 additions & 6 deletions quarto/02 - Ibis and the Python Ecosystem.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,18 @@ order_totals = (
order_totals
```

Note that you don't have to use deferred expressions if you don't want to!
Queries using deferred expressions may always be expressed without them (using
either a `lambda` function, or an intermediate python variable) - they're there
as friendly "syntactic sugar" to ease writing complex queries when you need
them.

#### Solution

```{python}
%load solutions/nb02_ex01.py
```

Note that you don't have to use deferred expressions if you don't want to!
Queries using deferred expressions may always be expressed without them (using
either a `lambda` function, or an intermediate python variable) - they're there
as friendly "syntactic sugar" to ease writing complex queries when you need
them.

## Mixing memtables with database tables

When querying a `memtable`, `ibis` will use the current default backend
Expand Down
6 changes: 3 additions & 3 deletions quarto/04 - Playing with PyPI.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,13 @@ What's the deal with that spike at 12 maintainers?
### Solution

```{python}
# %load solutions/nb04_ex05_counts.py
%load solutions/nb04_ex05_counts.py
```

```{python}
# %load solutions/nb04_ex05_ftw.py
%load solutions/nb04_ex05_ftw.py
```

```{python}
# %load solutions/nb04_ex05_ftw_maintainers.py
%load solutions/nb04_ex05_ftw_maintainers.py
```

0 comments on commit 52c594b

Please sign in to comment.