RFC 4180 format is expected for the CSV records.
(https://tools.ietf.org/html/rfc4180)
Note that we allow leading and trailing spaces with int or float field.
Args
records
A Tensor of type string.
Each string is a record/row in the csv and all records should have
the same format.
record_defaults
A list of Tensor objects with types from: float32, float64, int32, int64, string.
One tensor per column of the input record, with either a
scalar default value for that column or an empty vector if the column is
required.
field_delim
An optional string. Defaults to ",".
char delimiter to separate fields in a record.
use_quote_delim
An optional bool. Defaults to True.
If false, treats double quotation marks as regular
characters inside of the string fields (ignoring RFC 4180, Section 2,
Bullet 5).
na_value
An optional string. Defaults to "".
Additional string to recognize as NA/NaN.
select_cols
An optional list of ints. Defaults to [].
name
A name for the operation (optional).
Returns
A list of Tensor objects. Has the same type as record_defaults.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[]]