By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,050 Members | 1,020 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,050 IT Pros & Developers. It's quick & easy.

importing a csv file as a Numeric array

P: n/a
What's a good way of importing a csv text file of floats into a
Numeric array? I tried the csv module and it seems to work well so
long as I've ints. Does anyone have any suggestions / snippets that
work to import a csv file of floats into a Numeric array?

-Rahul
Mar 25 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
En Tue, 25 Mar 2008 06:46:57 -0300, Rahul <rp*****@gmail.comescribió:
What's a good way of importing a csv text file of floats into a
Numeric array? I tried the csv module and it seems to work well so
long as I've ints. Does anyone have any suggestions / snippets that
work to import a csv file of floats into a Numeric array?
See the Cookbook at http://www.scipy.org/Cookbook/InputOutput - but I
don't know how much of that is applicable to the old Numeric library.
Robert Kern posted a fairly generic approach in this thread
http://groups.google.com/group/comp....5c364cae59127/

--
Gabriel Genellina

Mar 25 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.