[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Standard approach to csv w/ headers?
From: |
Martin Helm |
Subject: |
Re: Standard approach to csv w/ headers? |
Date: |
Sat, 3 Apr 2010 00:34:42 +0200 |
User-agent: |
KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; ) |
Am Samstag, 3. April 2010 00:18:48 schrieb forkandwait:
> Hi all,
>
> Is there a "best practice" for dealing with csv files that have a row of
> headers?
>
> I am about to start importing a whole lot of data, and if there is a best
> approach I would like to know. Otherwise, I will probably write a csvhdr()
> function that returns a struct with column names and cleaned up data
> separately.
>
> Thoughts? Tx
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
Have a look at dlmread, csvread and csv2cell if these functions are
appropriate for your data.
Esp. dlmread gives you the possibility to ignore rows in the file.
- mh