From cc5473ab74dc86acd557ade3cbb513c24af21f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Hoffimann?= Date: Mon, 9 Oct 2023 12:20:38 -0300 Subject: [PATCH] Remove Tables.jl examples --- 01-geodata.qmd | 15 +-------------- 05-transforms.qmd | 4 +--- Manifest.toml | 2 +- Project.toml | 1 - preface.qmd | 1 - 5 files changed, 3 insertions(+), 20 deletions(-) diff --git a/01-geodata.qmd b/01-geodata.qmd index e59d8bf..3f043b7 100644 --- a/01-geodata.qmd +++ b/01-geodata.qmd @@ -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} @@ -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. diff --git a/05-transforms.qmd b/05-transforms.qmd index 376f6ca..b127722 100644 --- a/05-transforms.qmd +++ b/05-transforms.qmd @@ -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: diff --git a/Manifest.toml b/Manifest.toml index e182817..98cd4c9 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -2,7 +2,7 @@ julia_version = "1.9.2" manifest_format = "2.0" -project_hash = "53a3b77258fdbf947607ea722d941cff617fc7ef" +project_hash = "89e8f233c369c704f0f25a639ef7c12ad8daac9c" [[deps.AbstractFFTs]] deps = ["LinearAlgebra"] diff --git a/Project.toml b/Project.toml index eab02c6..1a1c5ea 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/preface.qmd b/preface.qmd index c2c6b6b..ac8d2bb 100644 --- a/preface.qmd +++ b/preface.qmd @@ -130,7 +130,6 @@ pkg"add PairPlots@1.1.1" # install other modules pkg"add CoDa@1.0.8" pkg"add DataFrames@1.6.1" -pkg"add Tables@1.11.0" pkg"add CSV@0.10.11" ```