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: site/documentation/csv/index.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ More high-level pipes are available for the following use cases:
51
51
*`decodeGivenHeaders` for CSV parsing that requires headers, but they aren't present in the input
52
52
*`decodeUsingHeaders` for CSV parsing that requires headers and they're present in the input
53
53
*`encodeWithoutHeaders` for CSV encoding that works entirely without headers (Note: requires `RowEncoder` instead of `CsvRowEncoder`)
54
-
*`encodeGivenHeaders` for CSV encoding that works without headers, but they should be added to the output
54
+
*`encodeWithGivenHeaders` for CSV encoding that works without headers, but they should be added to the output
55
55
*`encodeUsingFirstHeaders` for CSV encoding that works with headers. Uses the headers of the first row for the output.
56
56
57
57
### Dealing with erroneous files
@@ -219,7 +219,7 @@ testRows
219
219
.string
220
220
```
221
221
222
-
If you want to write headers, use `writeWithHeaders` or, in case you use `CsvRow`, `encodeRowWithFirstHeaders`. For writing non-String headers, you'll need to provide an instance of `WritableHeader`, a type class analog to `ParseableHeader`.
222
+
If you want to write headers, use `writeWithGivenHeaders` or, in case you use `CsvRow`, `encodeRowWithFirstHeaders`. For writing non-String headers, you'll need to provide an instance of `WritableHeader`, a type class analog to `ParseableHeader`.
0 commit comments