This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-06
Channels
- # babashka (19)
- # beginners (68)
- # calva (9)
- # cider (27)
- # clj-kondo (64)
- # clj-on-windows (2)
- # cljdoc (8)
- # clojure (11)
- # clojure-europe (58)
- # clojure-italy (1)
- # clojure-nl (23)
- # clojure-uk (5)
- # clojurescript (9)
- # cryogen (18)
- # cursive (14)
- # data-science (17)
- # emacs (6)
- # gorilla (6)
- # graphql (1)
- # gratitude (2)
- # holy-lambda (10)
- # introduce-yourself (1)
- # jackdaw (3)
- # jobs (1)
- # leiningen (2)
- # malli (3)
- # missionary (33)
- # off-topic (21)
- # pedestal (7)
- # polylith (8)
- # quil (3)
- # random (1)
- # releases (1)
- # remote-jobs (7)
- # shadow-cljs (18)
- # specter (1)
- # sql (8)
This weekend we will have study sessions about data visualization and data modeling. Details at Zulip: https://clojurians.zulipchat.com/#narrow/stream/264992-ml-study/topic/planning.20ml-study.2023
I have a new question, at [libpython-clj 2.000] what is equivalent with py/from-import
? I see in the documentation for old version: (from-import numpy linspace)
but I get No such var: py/from-import
(py is my alias in ns)?
you will have more response at https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev - that is where developers and users hang out.
If somebody needed in the future: xlsx/xlsm writing without style/ vba macro loss https://gist.github.com/damesek/e97a5fd28c87bf590e18a307f2d21b0f
Yes, all case Openpyxl, pandas, org.apache.poi, docjure, fxl.. etc.. you can’t write xlsm the file at the end or lost original style, or else problem. The goal was.. without any modification/ side effect modify or write to different place the original template spreadsheet.
fxl.core=> (fxl/write-xlsx! test-xls "test.xlsm")
{:workbook #object[org.apache.poi.xssf.usermodel.XSSFWorkbook 0x33e7fc01 "Name: /xl/workbook.xml - Content Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"], :output-stream #object[java.io.FileOutputStream 0x10491fe4 "
Thanks for giving everything a shot! The goal makes sense and I can see it would be really useful for a lot of scenarios especially in automating business flows - it is disappointing that the underlying libraries don't correctly deal with all the various forms of data that are in spreadsheets.
I checked now, editpyxl use https://lxml.de/ lib, which is similar like tagsoup in clojure (?). No extra dependencies as I see ‘lxml (>=4.1.1)’. If that is helpful.