[PATCH] gnu: Add python-pandarallel.

OpenSubmitted by Wiktor Żelazny.
Details
One participant
  • Wiktor Żelazny
Owner
unassigned
Severity
normal
W
W
Wiktor Żelazny wrote on 8 Jun 18:52 +0200
(address . guix-patches@gnu.org)(name . Wiktor Żelazny)(address . wz@freeshell.de)
20220608165257.1701-1-wz@freeshell.de
* gnu/packages/python-science.scm (python-pandarallel): New variable.
---
gnu/packages/python-science.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 855fe9a72c..b16ec5455d 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1340,3 +1340,28 @@ (define-public python-gpy
 Python, from the Sheffield machine learning group.  GPy implements a range of
 machine learning algorithms based on GPs.")
     (license license:bsd-3)))
+
+(define-public python-pandarallel
+  (package
+    (name "python-pandarallel")
+    (version "1.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pandarallel" version))
+              (sha256
+               (base32
+                "0fnfwq5j2748lj0fb2qdn4p3h7p0a352bvx6ygwjh5vs0pbicvz3"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-dill python-pandas python-psutil))
+    (native-inputs (list python-mkdocs-material python-numpy python-pytest
+                         python-pytest-cov))
+    (home-page "https://nalepae.github.io/pandarallel/")
+    (synopsis "Simple and efficient tool to parallelize Pandas operations
+across CPUs")
+    (description
+     "With a one line code change, @code{pandarallel} allows any
+Pandas user to take advantage of their multi-core computer, while Pandas uses
+only one core.  @code{pandarallel} also offers nice progress bars (available on
+Notebook and terminal) to get an rough idea of the remaining amount of
+computation to be done.")
+    (license license:bsd-3)))

base-commit: 0c5299200ffcd16370f047b7ccb187c60f30da34
-- 
2.36.1
?