datatable
datatable copied to clipboard
Missing values are not quoted by `.to_csv()`
The code
from datatable import dt
DT = dt.Frame(["a", None, "b"])
print(DT.to_csv(quoting="all"))
prints
'"C0"\n"a"\n\n"b"\n'
However, according to documentation, when quoting="all" all the fields should be quoted.
Expected output (the missing value should also be quoted as "")
'"C0"\n"a"\n""\n"b"\n'