Skip to content

Commit

Permalink
Add sections on subset and select (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer committed Jul 20, 2021
1 parent fe296de commit 65644b5
Show file tree
Hide file tree
Showing 8 changed files with 424 additions and 56 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Expand Up @@ -40,6 +40,9 @@ jobs:
using Books; Books.install_dependencies()'

- run: julia --project -e 'using JDS; JDS.build()'
env:
# Fix for Plots with GR backend.
GKSwstype: nul

- name: Deploy to secondary branch
if: ${{ github.event_name != 'pull_request' }}
Expand Down
8 changes: 6 additions & 2 deletions Project.toml
Expand Up @@ -8,12 +8,15 @@ AlgebraOfGraphics = "cbdf2221-f076-402e-a563-3d30da359d67"
Books = "939d5c6b-51ae-42e7-97ca-7564d0d4ad91"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
StatsPlots = "f3b207a7-027a-5e70-b257-86293d7955fd"
XLSX = "fdbf4ff8-1666-58a4-91e7-1b58723a45e0"
Expand All @@ -23,9 +26,10 @@ AlgebraOfGraphics = "0.4"
Books = "0.7"
CSV = "0.8"
CairoMakie = "0.6"
CategoricalArrays = "0.10"
DataFrames = "1.1"
Makie = "0.14"
Plots = "1.15"
Makie = "0.15"
Plots = "1.19"
Reexport = "1.1"
StatsPlots = "0.14"
XLSX = "0.7"
7 changes: 4 additions & 3 deletions contents/dataframes.md
Expand Up @@ -13,9 +13,10 @@ We could even ask the reader to answer the queries described below as exercises.

```jl
tv_shows = DataFrame(
name=["Game of Thrones", "The Crown", "Friends", "..."],
country=["United States", "England", "United States", "..."],
rating=[8.2, 7.3, 7.8, "..."])
name=["Game of Thrones", "The Crown", "Friends", "..."],
country=["United States", "England", "United States", "..."],
rating=[8.2, 7.3, 7.8, "..."]
)
Options(tv_shows; label="TV_shows")
```

Expand Down

0 comments on commit 65644b5

Please sign in to comment.