Tuesday, July 11, 2017

Julia - Language - Install DataFrames.jl

DataFrames are recommended data structures for statistical analysis. Julia provides a package called DataFrames.jl, which has all necessary functions to work with DataFrames.

To install DataFrames.jl in julia pls follow the following steps:

$ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0 (2017-06-19 13:05 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> Pkg.add("DataFrames")
INFO: Cloning cache of DataArrays from https://github.com/JuliaStats/DataArrays.jl.git
INFO: Cloning cache of DataFrames from https://github.com/JuliaStats/DataFrames.jl.git
INFO: Cloning cache of DataStructures from https://github.com/JuliaCollections/DataStructures.jl.git
INFO: Cloning cache of FileIO from https://github.com/JuliaIO/FileIO.jl.git
INFO: Cloning cache of GZip from https://github.com/JuliaIO/GZip.jl.git
INFO: Cloning cache of SortingAlgorithms from https://github.com/JuliaCollections/SortingAlgorithms.jl.git
INFO: Cloning cache of SpecialFunctions from https://github.com/JuliaMath/SpecialFunctions.jl.git
INFO: Cloning cache of StatsBase from https://github.com/JuliaStats/StatsBase.jl.git
INFO: Installing Compat v0.26.0
INFO: Installing DataArrays v0.5.3
INFO: Installing DataFrames v0.10.0
INFO: Installing DataStructures v0.5.3
INFO: Installing FileIO v0.4.1
INFO: Installing GZip v0.3.0
INFO: Installing Reexport v0.0.3
INFO: Installing SortingAlgorithms v0.1.1
INFO: Installing SpecialFunctions v0.1.1
INFO: Installing StatsBase v0.16.0
INFO: Package database updated
INFO: METADATA is out-of-date you may not have the latest version of DataFrames
INFO: Use `Pkg.update()` to get the latest versions of your packages

julia> using DataArrays
INFO: Precompiling module DataArrays.

julia> using DataFrames
INFO: Precompiling module DataFrames.

julia>



For packages in Julia - refer: https://pkg.julialang.org/

No comments:

Post a Comment