Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73057
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-06-09 12:48 -0700 |
| Message-ID | <9b60eed1-1924-43d8-a92c-43b792118ebb@googlegroups.com> (permalink) |
| Subject | lists vs. NumPy arrays for sets of dates and strings |
| From | beliavsky@aol.com |
I am going to read a multivariate time series from a CSV file that looks like Date,A,B 2014-01-01,10.0,20.0 2014-01-02,10.1,19.9 ... The numerical data I will store in a NumPy array, since they are more convenient to work with than lists of lists. What are the advantages and disadvantages of storing the symbols [A,B] and dates [2014-01-01,2014-01-02] as lists vs. NumPy arrays?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
lists vs. NumPy arrays for sets of dates and strings beliavsky@aol.com - 2014-06-09 12:48 -0700 Re: lists vs. NumPy arrays for sets of dates and strings Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-09 20:50 +0000 Re: lists vs. NumPy arrays for sets of dates and strings Peter Otten <__peter__@web.de> - 2014-06-10 09:18 +0200
csiph-web