How do I load in a csv file into kdb with the headers as table fieldnames?

Insert the keyword enlist before the delimiter argument to 0: or 1:.

(“SSS”; enlist “,”) 0: `:filename.csv

See also: field parsing and operator 0:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.