You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to add clojure.data.csv to Clojuredocs. There are only two functions in it, read-csv and write-csv, but they are very useful when you need them.
I knew these functions existed, but was puzzled recently when I couldn't find them in Clojuredocs. I knew how to find the docs for them, but it would be good for others to be able to find them easily through Clojuredocs.
I just spent ten minutes trying to figure out why I was getting an error when I tried to look at data returned by read-csv. I finally realized that the problem was that it's lazy, and that I was closing the file reader before forcing evaluation of the result. I'd like to add an example to Clojuredocs to help others avoid that foolish mistake.
The text was updated successfully, but these errors were encountered:
It would be useful to add
clojure.data.csv
to Clojuredocs. There are only two functions in it,read-csv
andwrite-csv
, but they are very useful when you need them.I knew these functions existed, but was puzzled recently when I couldn't find them in Clojuredocs. I knew how to find the docs for them, but it would be good for others to be able to find them easily through Clojuredocs.
I just spent ten minutes trying to figure out why I was getting an error when I tried to look at data returned by
read-csv
. I finally realized that the problem was that it's lazy, and that I was closing the file reader before forcing evaluation of the result. I'd like to add an example to Clojuredocs to help others avoid that foolish mistake.The text was updated successfully, but these errors were encountered: