[Numpy-discussion] Pandas LongPanel/WidePanel for 3d timeseries?

Wes McKinney wesmckinn at gmail.com
Sun Jan 17 21:45:50 EST 2010


On Jan 17, 2010, at 9:21 PM, Keith Goodman <kwgoodman at gmail.com> wrote:

> On Sun, Jan 17, 2010 at 3:49 PM,  <totalbull at mac.com> wrote:
>> Apologies - too quick to ask the list without thoroughly checking
>> the online docs. I have found the answer (fromDict method takes
>> DataFrame objects):
>>
>> http://pandas.sourceforge.net/generated/pandas.WidePanel.html#pandas.WidePanel
>>
>> Still would like to know how to append 2d matrices one-by-one though.
>
> Here's the best place to ask questions about pandas:
>
> http://groups.google.ca/group/pystatsmodels
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

pystatsmodels is the best place to ask questions.

You will want to use WidePanel.fromDict. Additional items can be added
easily like so:

wp[x] = frame

I apologize for the lack of documentation-- that should change in the
next month or so.



More information about the NumPy-Discussion mailing list