CsvFile (FSharp.Data)
Returns a csv with the same rows as the original plus the provided rows appended
Returns a csv with the same rows as the original plus the provided rows appended
-
rows
:
'RowType seq
-
Returns:
CsvFile<'RowType>
Returns a new csv with the same rows as the original but which guarantees
that each row will be only be read and parsed from the input at most once.
Returns a new csv with the same rows as the original but which guarantees that each row will be only be read and parsed from the input at most once.
-
Returns:
CsvFile<'RowType>
Returns a new csv containing only the rows for which the given predicate returns "true".
Returns a new csv containing only the rows for which the given predicate returns "true".
-
predicate
:
Func<'RowType, bool>
-
Returns:
CsvFile<'RowType>
Returns the index of the column with the given name
Returns the index of the column with the given name
-
columnName
:
string
-
Returns:
int
-
Returns:
string[] option
Returns a new csv where every row has been transformed by the provided mapping function.
Returns a new csv where every row has been transformed by the provided mapping function.
-
mapping
:
Func<'RowType, 'RowType>
-
Returns:
CsvFile<'RowType>
-
Returns:
int
The quotation mark use for surrounding values containing separator chars
The quotation mark use for surrounding values containing separator chars
-
Returns:
char
-
Returns:
'RowType seq
Saves CSV to the specified file
Saves CSV to the specified file
-
path
:
string -
?separator
:
char -
?quote
:
char
Saves CSV to the specified stream
Saves CSV to the specified stream
-
stream
:
Stream -
?separator
:
char -
?quote
:
char
Saves CSV to the specified writer
Saves CSV to the specified writer
-
writer
:
TextWriter -
?separator
:
char -
?quote
:
char
-
?separator
:
char -
?quote
:
char
-
Returns:
string
The character(s) used as column separator(s)
The character(s) used as column separator(s)
-
Returns:
string
Returns a csv that skips N rows and then yields the remaining rows.
Returns a csv that skips N rows and then yields the remaining rows.
-
count
:
int
-
Returns:
CsvFile<'RowType>
Returns a csv that, when iterated, skips rows while the given predicate returns
true, and then yields the remaining rows.
Returns a csv that, when iterated, skips rows while the given predicate returns true, and then yields the remaining rows.
-
predicate
:
Func<'RowType, bool>
-
Returns:
CsvFile<'RowType>
Returns a new csv with only the first N rows of the underlying csv.
Returns a new csv with only the first N rows of the underlying csv.
-
count
:
int
-
Returns:
CsvFile<'RowType>
Returns a csv that, when iterated, yields rows while the given predicate
returns true, and then returns no further rows.
Returns a csv that, when iterated, yields rows while the given predicate returns true, and then returns no further rows.
-
predicate
:
Func<'RowType, bool>
-
Returns:
CsvFile<'RowType>
Returns the index of the column with the given name, or returns None if no column is found
Returns the index of the column with the given name, or returns None if no column is found
-
columnName
:
string
-
Returns:
int option