This question is a follow-up to discussion here, documentation here
how to translate the output of below code into a data frame?
fund = Ticker('hasgx')
fund.fund_holding_info
I started with below,
tickers = ['HACAX']
fund = Ticker(tickers)
fund = fund.fund_holding_info
fund = pd.DataFrame(fund).reset_index().rename(columns={'index': 'Header'})
fund = fund[fund["Header"] == "holdings"]
with output as,
How can all of this converted as a data frame with rows and columns for 'Holdings'?
