diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-10-04 15:40:18 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-10-12 08:40:37 +0300 |
commit | bfde12f7197fbc64f6be3fc1c818d9f22960582b (patch) | |
tree | 104dd21286be00eb25ac68e02b47bc59fb226f2c /gnu | |
parent | 726a78b8bc490757736edf1187d479aac335a783 (diff) |
gnu: Add julia-dataframes.
* gnu/packages/julia-xyz.scm (julia-dataframes): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/julia-xyz.scm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index ecfcd8ef77..9cd83281d1 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -806,6 +806,63 @@ moving the function definition to DataAPI.jl and each package taking a dependency on it.") (license license:expat))) +(define-public julia-dataframes + (package + (name "julia-dataframes") + (version "1.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaData/DataFrames.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1bk0amrghgjrkyn1mm4ac23swwbgszl1d0qyl9137qj5zvv9dasp")))) + (build-system julia-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-failing-test + (lambda _ + ;; Tests with non-standard colors. + (substitute* "test/show.jl" + (("test (sprint\\(show, df, context=:color=>true)" _ test) + (string-append "test_nowarn " test))) + (substitute* "test/io.jl" + (("testset \\\"improved.*" all) + (string-append all "return\n"))) + (substitute* "test/join.jl" + (("test (levels\\(outerjoin\\(B)" _ test) + (string-append "test_nowarn " test))) + #t))))) + (propagated-inputs + `(("julia-dataapi" ,julia-dataapi) + ("julia-invertedindices" ,julia-invertedindices) + ("julia-iteratorinterfaceextensions" ,julia-iteratorinterfaceextensions) + ("julia-missings" ,julia-missings) + ("julia-pooledarrays" ,julia-pooledarrays) + ("julia-prettytables" ,julia-prettytables) + ("julia-reexport" ,julia-reexport) + ("julia-sortingalgorithms" ,julia-sortingalgorithms) + ("julia-tables" ,julia-tables) + ("julia-tabletraits" ,julia-tabletraits))) + (native-inputs + `(("julia-categoricalarrays" ,julia-categoricalarrays) + ("julia-combinatorics" ,julia-combinatorics) + ("julia-datastructures" ,julia-datastructures) + ("julia-datavalues" ,julia-datavalues) + ("julia-offsetarrays" ,julia-offsetarrays) + ("julia-unitful" ,julia-unitful))) + (home-page "https://dataframes.juliadata.org/stable/") + (synopsis "In-memory tabular data") + (description "This package provides a set of tools for working with tabular +data in Julia. Its design and functionality are similar to those of Pandas from +Python or @code{data.frame}, @code{data.table} and @code{dplyr} from R, making +it a great general purpose data science tool, especially for those coming to +Julia from R or Python.") + (license license:expat))) + (define-public julia-datastructures (package (name "julia-datastructures") |