@@ -23,7 +23,7 @@ export interface ReadCsvOptions {
23
23
numThreads : number ;
24
24
dtypes : Record < string , DataType > ;
25
25
lowMemory : boolean ;
26
- commentChar : string ;
26
+ commentPrefix : string ;
27
27
quoteChar : string ;
28
28
eolChar : string ;
29
29
nullValues : string | Array < string > | Record < string , string > ;
@@ -167,7 +167,7 @@ export function readRecords(
167
167
* @param options.dtype -Overwrite the dtypes during inference.
168
168
* @param options.schema -Set the CSV file's schema. This only accepts datatypes that are implemented in the csv parser and expects a complete Schema.
169
169
* @param options.lowMemory - Reduce memory usage in expense of performance.
170
- * @param options.commentChar - character that indicates the start of a comment line, for instance '#'.
170
+ * @param options.commentPrefix - character that indicates the start of a comment line, for instance '#'.
171
171
* @param options.quoteChar -character that is used for csv quoting, default = ''. Set to null to turn special handling and escaping of quotes off.
172
172
* @param options.nullValues - Values to interpret as null values. You can provide a
173
173
* - `string` -> all values encountered equal to this string will be null
@@ -205,7 +205,7 @@ export function readCSV(pathOrBody, options?) {
205
205
export interface ScanCsvOptions {
206
206
hasHeader : boolean ;
207
207
sep : string ;
208
- commentChar : string ;
208
+ commentPrefix : string ;
209
209
quoteChar : string ;
210
210
skipRows : number ;
211
211
nullValues : string | Array < string > | Record < string , string > ;
@@ -251,7 +251,7 @@ const scanCsvDefaultOptions: Partial<ScanCsvOptions> = {
251
251
* @param options.hasHeader - Indicate if first row of dataset is header or not. If set to False first row will be set to `column_x`,
252
252
* `x` being an enumeration over every column in the dataset.
253
253
* @param options.sep -Character to use as delimiter in the file.
254
- * @param options.commentChar - character that indicates the start of a comment line, for instance '#'.
254
+ * @param options.commentPrefix - character that indicates the start of a comment line, for instance '#'.
255
255
* @param options.quoteChar -character that is used for csv quoting, default = ''. Set to null to turn special handling and escaping of quotes off.
256
256
* @param options.skipRows -Start reading after `skipRows` position.
257
257
* @param options.nullValues - Values to interpret as null values. You can provide a
@@ -631,7 +631,7 @@ export function scanIPC(path, options = {}) {
631
631
* @param options.numThreads -Number of threads to use in csv parsing. Defaults to the number of physical cpu's of your system.
632
632
* @param options.dtype -Overwrite the dtypes during inference.
633
633
* @param options.lowMemory - Reduce memory usage in expense of performance.
634
- * @param options.commentChar - character that indicates the start of a comment line, for instance '#'.
634
+ * @param options.commentPrefix - character that indicates the start of a comment line, for instance '#'.
635
635
* @param options.quoteChar -character that is used for csv quoting, default = ''. Set to null to turn special handling and escaping of quotes off.
636
636
* @param options.nullValues - Values to interpret as null values. You can provide a
637
637
* - `string` -> all values encountered equal to this string will be null
0 commit comments