Re: [Numpy-discussion] loading data with gaps

2008-04-04 Thread David Huard
Hi Tim, Look at the thread posted a couple of weeks ago named: loadtxt and missing values I'm guessing you'll find answers to your questions, if not, don't hesitate to ask. David 2008/4/3, Tim Michelsen <[EMAIL PROTECTED]>: > > Hello! > > How can I load a data file (e.g. CSV, DAT) in ASCII whi

[Numpy-discussion] loading data with gaps

2008-04-03 Thread Tim Michelsen
Hello! How can I load a data file (e.g. CSV, DAT) in ASCII which has some gaps? The file has been saved with from a spreadsheet program which leaves cells with not data empty: 1,23. 2,13. 3, 4,34. Would this code be correct: ### test_loadtxt.py ### import numpy import maskedarray # load data