# `syntax`:
# * header: a map from col number to name (base 1)
# * header_row: row number of header, 0 means no header (default: 1)
# * delim: default: ,
# * quotechar: default: "
# * escapechar: default: \
#
# Schema: a map from col name to rel type name, eg:
# {'a': "int", 'b': "string"}
def load_csv(ctx: Context, database: str, engine: str, relation: str,
data: str or io.TextIOBase, syntax: dict = {}) -> dict:
However, there is no argument that allows users to specify a schema.
In the comment above
load_csv
it reads:However, there is no argument that allows users to specify a schema.