-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I started to use huri and it's idea of a "data-set is sequences of maps" and one of the first things I wanted to add, for the "layz data scientist", is to show a "sequence of maps in a browser".
The code for thjis looks like this:
(defn df-to-browser! [df]
(data-to-html.core/open-in-browser
(hiccup.core/html
(hiccup.table/to-table1d df
(zipmap (hc/cols df) (map name (hc/cols df))))))
)So it would add depencies to hiccup and friends:
[data-to-html "0.1.3-SNAPSHOT"]
[hiccup-table "0.2.0"]
Let me know, if you think this could fit here, so I do a PR
Something similar could be done using "clojure.inspect" (while I like to html look better)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels