Julia DataFrames Examples

Julia DataFrames Examples#

A brief introduction to basic usage of DataFrames, by Bogumił Kamiński in bkamins/Julia-DataFrames-Tutorial, December 12, 2021.

The tutorial contains a specification of the project environment version under which it should be run. In order to prepare this environment, before using the tutorial notebooks, while in the project folder run the following command in the command line:

julia -e --project=. 'using Pkg; Pkg.instantiate()'

Runtime information#

using InteractiveUtils
versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12ad (2024-10-16 10:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × AMD EPYC 7763 64-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 2 default, 0 interactive, 1 GC (on 4 virtual cores)
Environment:
  JULIA_CI = true
  LD_LIBRARY_PATH = /opt/hostedtoolcache/Python/3.12.7/x64/lib
  JULIA_PROJECT = /home/runner/work/jl-dataframes/jl-dataframes/Project.toml
  JULIA_DEPOT_PATH = /home/runner/.julia:/opt/hostedtoolcache/julia/1.11.1/x64/local/share/julia:/opt/hostedtoolcache/julia/1.11.1/x64/share/julia
  JULIA_CONDAPKG_BACKEND = Null
  JULIA_NUM_THREADS = 2
  JULIA_LOAD_PATH = @:@v#.#:@stdlib
using Pkg
Pkg.status()
Status `~/work/jl-dataframes/jl-dataframes/Project.toml`
  [69666777] Arrow v2.7.4
  [6e4b80f9] BenchmarkTools v1.5.0
  [336ed68f] CSV v0.10.15
  [324d7699] CategoricalArrays v0.10.8
  [8be319e6] Chain v0.6.0
  [944b1d66] CodecZlib v0.7.6
  [a93c6f00] DataFrames v1.7.0
  [1313f7d8] DataFramesMeta v0.15.3
  [5789e2e9] FileIO v1.16.5
  [da1fdf0e] FreqTables v0.4.6
  [babc3d20] JDF v0.5.4
  [9da8a3cd] JLSO v2.7.0
  [b9914132] JSONTables v1.0.3
  [86f7a689] NamedArrays v0.10.3
  [2dfb63ee] PooledArrays v1.4.3
  [10745b16] Statistics v1.11.1
  [2913bbd2] StatsBase v0.34.3
  [f3b207a7] StatsPlots v0.15.7
  [bd369af6] Tables v1.12.0
  [a5390f91] ZipFile v0.10.1
  [9a3f8284] Random v1.11.0

This notebook was generated using Literate.jl.