Skip to content

Commit 3960fb6

Browse files
authored
Merge pull request #128 from patrick-nicodemus/tab_fix
Fixed out of date comment
2 parents 9946b8b + 6c5c84a commit 3960fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/dataframe.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ CSV (Comma-Separated Values) is a common format to store tabular data. The modul
360360
361361
```
362362

363-
`of_csv` function loads a CSV file into in-memory dataframe while `to_csv` writes a dataframe into CSV file on the disk. In both functions, we can use `sep` to specify the separator, the default separator is `tab` in Owl.
363+
`of_csv` function loads a CSV file into in-memory dataframe while `to_csv` writes a dataframe into CSV file on the disk. In both functions, we can use `sep` to specify the separator, the default separator is chosen from context by identifying a character that yields the same number of columns for every row.
364364

365365
For `of_csv` function, you can pass in the head names using `head` argument; otherwise the first row of the CSV file will be used as head. `types` argument is used to specify the type of each column in a CSV file. If `types` is dropped, all the column will be treated as string series by default. Note the length of both `head` and `types` must match the actual number of columns in the CSV file.
366366

0 commit comments

Comments
 (0)