Home

KDB+ q tips and tricks that I have used

Tag: ReadingCSV

  • Reading CSV File Data using KDB+ q

    Reading a CSV file in KDB+ q is straightforward. Here’s a sample syntax: data: (“SSSS”; enlist “,”) 0 `:sample.csv In this example: Trick: If all columns are of the same type, you can simplify the syntax. For instance, if you have more than 100 columns of type S, instead of specifying S repeatedly, you can…