Skip to content

Commit

Permalink
Remove Tables.jl examples
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Oct 9, 2023
1 parent f77bd72 commit cc5473a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 20 deletions.
15 changes: 1 addition & 14 deletions 01-geodata.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,6 @@ coltable = (

Given that data science is often performed with entire columns,
this column-major representation of a table is very convenient.
We can check that the representation is a valid representation
of a table using the `Tables.istable` function:

```{julia}
using Tables
Tables.istable(coltable)
```

The second representation focuses on the rows of the table:

```{julia}
Expand All @@ -192,11 +183,7 @@ rowtable = [
]
```

```{julia}
Tables.istable(rowtable)
```

This row-major representation can be useful to process data that
The row-major representation can be useful to process data that
is potentially larger than the available computer memory, or
infinite streams of data.

Expand Down
4 changes: 1 addition & 3 deletions 05-transforms.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ rt = gt |> RowTable()
```

```{julia}
using Tables
Tables.isrowtable(values(rt))
rt |> values |> typeof
```

The `Functional` transform can be used to apply a function to columns of a geotable in place:
Expand Down
2 changes: 1 addition & 1 deletion Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.9.2"
manifest_format = "2.0"
project_hash = "53a3b77258fdbf947607ea722d941cff617fc7ef"
project_hash = "89e8f233c369c704f0f25a639ef7c12ad8daac9c"

[[deps.AbstractFFTs]]
deps = ["LinearAlgebra"]
Expand Down
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ GeoIO = "f5a160d5-e41d-4189-8b61-d57781c419e3"
GeoStats = "dcc97b0b-8ce5-5539-9008-bb190f959ef6"
GeoStatsImages = "7cd16168-b42c-5e7d-a585-4f59d326662d"
PairPlots = "43a3c2be-4208-490b-832a-a21dcd55d7da"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1 change: 0 additions & 1 deletion preface.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ pkg"add [email protected]"
# install other modules
pkg"add [email protected]"
pkg"add [email protected]"
pkg"add [email protected]"
pkg"add [email protected]"
```

Expand Down

0 comments on commit cc5473a

Please sign in to comment.