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 'using Pkg; Pkg.activate("."); Pkg.instantiate()'

Runtime information#

using InteractiveUtils
versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 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
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 4 default, 0 interactive, 2 GC (on 4 virtual cores)
Environment:
  JULIA_CI = true
  JULIA_NUM_THREADS = auto
  JULIA_CONDAPKG_BACKEND = Null
  JULIA_PATH = /usr/local/julia/
  JULIA_DEPOT_PATH = /srv/juliapkg/
using Pkg
Pkg.status()
Status `/tmp/docs/df/Project.toml`
  [69666777] Arrow v2.7.2
  [6e4b80f9] BenchmarkTools v1.5.0
  [336ed68f] CSV v0.10.14
  [324d7699] CategoricalArrays v0.10.8
  [8be319e6] Chain v0.6.0
  [944b1d66] CodecZlib v0.7.4
  [a93c6f00] DataFrames v1.6.1
  [1313f7d8] DataFramesMeta v0.15.2
  [5789e2e9] FileIO v1.16.3
  [da1fdf0e] FreqTables v0.4.6
  [babc3d20] JDF v0.5.2
  [9da8a3cd] JLSO v2.7.0
  [b9914132] JSONTables v1.0.3
  [86f7a689] NamedArrays v0.10.2
  [2dfb63ee] PooledArrays v1.4.3
  [2913bbd2] StatsBase v0.34.3
  [f3b207a7] StatsPlots v0.15.7
  [bd369af6] Tables v1.11.1
  [a5390f91] ZipFile v0.10.1
  [9a3f8284] Random
  [10745b16] Statistics v1.10.0