Skip to content

Commit

Permalink
deploy: c3351b4
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Nov 12, 2023
1 parent 7150e8a commit 7fd4c5f
Show file tree
Hide file tree
Showing 11 changed files with 825 additions and 813 deletions.
6 changes: 3 additions & 3 deletions dev/_sources/wrangling.md
Original file line number Diff line number Diff line change
Expand Up @@ -1422,14 +1422,14 @@ Non-Aboriginal, and Official) are spoken at home in different regions, we would
list including `region` and `category` to `groupby`.

```{code-cell} ipython3
region_lang.groupby(["region", "category"])["most_at_home"].agg(["min", "max"])
region_lang.groupby(["region", "category"])["most_at_home"].agg(["min", "max"]).reset_index()
```

You can also ask for grouped summary statistics on the whole data frame.

```{code-cell} ipython3
:tags: ["output_scroll"]
region_lang.groupby("region").agg(["min", "max"])
region_lang.groupby("region").agg(["min", "max"]).reset_index()
```

If you want to ask for only some columns, for example
Expand Down Expand Up @@ -1459,7 +1459,7 @@ this approach always works.

```{code-cell} ipython3
:tags: ["output_scroll"]
region_lang.groupby("region")[["most_at_home", "most_at_work", "lang_known"]].max()
region_lang.groupby("region")[["most_at_home", "most_at_work", "lang_known"]].max().reset_index()
```

To see how many observations there are in each group,
Expand Down
204 changes: 102 additions & 102 deletions dev/classification1.html

Large diffs are not rendered by default.

152 changes: 76 additions & 76 deletions dev/classification2.html

Large diffs are not rendered by default.

182 changes: 91 additions & 91 deletions dev/clustering.html

Large diffs are not rendered by default.

182 changes: 91 additions & 91 deletions dev/inference.html

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions dev/intro.html

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions dev/regression1.html

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions dev/regression2.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/searchindex.js

Large diffs are not rendered by default.

392 changes: 196 additions & 196 deletions dev/viz.html

Large diffs are not rendered by default.

Loading

0 comments on commit 7fd4c5f

Please sign in to comment.