JuliaCon2021 DataFrames.jl Tutorial
This is a tutorial on DataFrames.jl prepared for JuliaCon2021.
A video recording of the tutorial is available here.
In order to run the tutorial make sure that you have Julia executable installed. The tutorial was updated to Julia 1.9.0 and DataFrames.jl 1.5.0.
To check the version presented during JuliaCon 2021 please check out this commit from the repository.
Then the simplest way to run it is to proceed as follows:
- Clone the tutorial repository to a local folder on your computer.
- Start Julia in your local folder using the
julia --project
command. - Run the following commands:
using Pkg
Pkg.instantiate()
Pkg.status()
The last command should produce the following output:
[e28b5b4c] Bootstrap v2.3.3
[336ed68f] CSV v0.10.9
[324d7699] CategoricalArrays v0.10.7
[8be319e6] Chain v0.5.0
[a93c6f00] DataFrames v1.5.0
[38e38edf] GLM v1.8.1
[7073ff75] IJulia v1.24.0
[91a5bcdd] Plots v1.38.5
[f3b207a7] StatsPlots v0.15.4
- Start Jupyter Notebook with:
using IJulia
notebook(dir=pwd())
- In the Jupyter Notebook open the Tutorial.ipynb file and follow the tutorial.
Steps 3 and 4 need to be run only once. They are intended to make sure that you have the required packages properly instantiated.
You can find more tutorials on DataFrames.jl in its documentation and in my blog.