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
Copy file name to clipboardExpand all lines: src/CSV.jl
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,26 @@
1
+
"""
2
+
CSV provides fast, flexible reader & writer for delimited text files in various formats.
3
+
4
+
Reading:
5
+
- `CSV.File` reads delimited data and returns a `CSV.File` object, which allows dot-access to columns and iterating rows.
6
+
- `CSV.read` is similar to `CSV.File` but used when the input will be passed directly to a sink function such as a `DataFrame`.
7
+
- `CSV.Rows` reads delimited data and returns a `CSV.Rows` object, which allows "streaming" the data by iterating and thereby has a lower memory footprint than `CSV.File`.
8
+
- `CSV.Chunks` allows processing extremely large files in "batches" or "chunks".
9
+
Writing:
10
+
- `CSV.write` writes a [Tables.jl interface input](https://github.com/JuliaData/Tables.jl) such as a `DataFrame` to a csv file or an in-memory IOBuffer.
11
+
- `CSV.RowWriter` creates an iterator that produces csv-formatted strings for each row in the input table.
12
+
Here is an example of reading a csv file and passing the input to a `DataFrame`:
0 commit comments