Fork me on GitHub
#data-science
<
2021-10-04
>
sb18:10:49

Hello, I would like to read out xlsx (mainly work with docjure/ org.apache.poi) data and aggregate infos and insert into existing spreadsheet (like hospital daily sheets), into right cells. That is sounds very painful for me now in Clojure, much easier in python, but I would like to use Clojure ecosystem. All times fail at savings, when I would like to mod more than one point (the df) and insert into existing spreadsheet etc. This is quite bad feeling. Anybody implemented with libpython-clj2 eg. openpyxl or pandas to do similar things (interop)?

sb21:10:04

thanks I check it!

metasoarous20:10:02

Doesn't the tech.ml.dataset stack support reading/writing to/from xlsx now?

👍 1
metasoarous20:10:40

If not, fxl is probably a good option.

jsa-aerial21:10:23

Yes, https://github.com/techascent/tech.ml.dataset directly supports xlsx format, and it should be the go to thing for any stuff like this.

👀 1
sb21:10:45

thanks all help! I check this too

sb22:10:31

I need to load and write xlsm files, so therefore my case a little bit more specific. I hope I can do with these solutions. Thanks all things again! I check the source codes too

chrisn22:10:55

tech.ml.dataset does not write xlsx or xls files at the moment - only read. I have no software that deals with xlsm but I strongly agree with the fxl recommendation for reading/writing cell-like data.

👍 1
metasoarous16:10:57

Got it; I had remembered that reading was supported, but wasn't sure write. Is writing in the cards, or is that more of a challenge for some reason?

chrisn17:10:17

Oh just no one has asked for it. What would be great would be an ask with some money attached 😉 .

😂 2
❤️ 1
💰 1
metasoarous17:10:21

Boy, do I hear you!

metasoarous17:10:52

It's not a major need for me at the moment, but if I do in the future, I may submit a PR.