« peach is great. Can I simply use it everywhere in place of each? | Main | I’m purchasing new kdb server hardware. How should it be configured? »

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:

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Textile formatting is allowed.