Hi, I am using the get_pricing method from the research API.
I was returned a Pandas data "Panel" like so ...
Dimensions: 6 (items) x 3857 (major_axis) x 1435 (minor_axis)
Items axis: open_price to price
Major_axis axis: 2003-01-02 00:00:00+00:00 to 2018-04-27 00:00:00+00:00
Minor_axis axis: Equity(2 [ARNC]) to Equity(51955 [CDAY])
The 6 items are open, high, low etc.
The 3857 major axis are the dates from 01/01/2003 to present
The 1435 Minor Axis are the Symbols I was getting prices for.
I am trying to get a monthly sample instead of the daily frequency that the API provides.
So I was poking around and I read that I should use pandas "resample" method.
So I want to resample via a monthly timeframe by date,
so I guess I would use the major axis of my panel,
also the documentation says that
"data is returned as a DataFrame with a DatetimeIndex and a columns given by the passed symbols."
So I am just wondering how I would do a resample for monthly data, given this Panel data structure ?