How to read fixed width text file

User 2306 | 9/24/2015, 2:03:21 PM

Hi All,

I am just starting with GraphLab create and am trying to do some analysis on a fixed width text file. How can I parse it into SFrame? Many thanks in advance for your valuable time and attention.

Best regards

Comments

User 940 | 9/24/2015, 6:05:04 PM

Hi,

sf = graphlab.SFrame.read_csv(<your_file>, delimiter='\n')

Should read in each line into a row. Afterwards, you can parse with applies.

Cheers! -Piotr