Skip to content

Instantly share code, notes, and snippets.

@gmp26
Last active October 22, 2019 14:15
Show Gist options
  • Save gmp26/97967357ad8a178aa1b4992f070894fe to your computer and use it in GitHub Desktop.
Save gmp26/97967357ad8a178aa1b4992f070894fe to your computer and use it in GitHub Desktop.
```clj
(drop 1 (csv/read-csv (io/reader (BOMInputStream. (io/input-stream filename)) :encoding "UTF-8")))))
```
@gmp26
Copy link
Author

gmp26 commented Oct 22, 2019

Also:

(with-open [rdr (reader "my/file.csv")]
  (->> rdr
    (line-seq)
    (map #(split % #","))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment