Re: [Tutor] Help with iterators

2013-03-27 Thread Matthew Johnson
ators > Message-ID: <514bb640.5050...@lightbird.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 03/21/2013 08:39 PM, Matthew Johnson wrote: >> Dear list, >> >> I have been trying to understand out how to use iterators and in >> par

[Tutor] Help with iterators

2013-03-21 Thread Matthew Johnson
Dear list, I have been trying to understand out how to use iterators and in particular groupby statements. I am, however, quite lost. I wish to subset the below list, selecting the observations that have an ID ('realtime_start') value that is greater than some date (i've used the variable name m

Re: [Tutor] getting and using information dict objects

2013-02-23 Thread Matthew Johnson
ervations']['observation'][i]['date'], gnpObvs['observations']['observation'][i]['value'] mj On 24 February 2013 10:51, Matthew Johnson wrote: > Thanks very much; hopefully that's the boost i need to get rolling. > > Best regards

Re: [Tutor] getting and using information dict objects

2013-02-23 Thread Matthew Johnson
Thanks very much; hopefully that's the boost i need to get rolling. Best regards matt On 24/02/2013, at 10:40 AM, Robert Sjoblom wrote: >> I am fairly sure i am querying the FRED API, but i am unsure how to >> _access and use_ the dict objects that it is returning. For example, >> how would i

Re: [Tutor] getting and using information dict objects

2013-02-23 Thread Matthew Johnson
I can see i was being unclear: i wish to replace my analysis in excel with analysis in python. I am fairly sure i am querying the FRED API, but i am unsure how to _access and use_ the dict objects that it is returning. For example, how would i just print out values? Thanks for your help On 24/02

[Tutor] getting and using information dict objects

2013-02-23 Thread Matthew Johnson
Hi, I am trying to make a move from excel to python. My main need is economic data -- to do economic analysis. I have found the FRED package, and appear to have connected to the St Louis Fed's FRED and downloaded some data, but i'm not sure what to do with the objects that are returned. _ >