bpsmith / tia

Toolkit for integration and analysis
BSD 3-Clause "New" or "Revised" License
404 stars 165 forks source link

bulk data doesn't convert to DataFrame correctly #50

Open txu2014 opened 5 years ago

txu2014 commented 5 years ago

the following code fetch the UKX Index Members, the data frame return didn't convert the table correctly.
df.values[0][0] gives expected table.

import pandas as pd import tia.bbg.datamgr as dm mgr = dm.BbgDataManager() mgr.sid_result_mode = 'frame' ukx = mgr['UKX Index'] df=ukx.get_attributes('INDX_MEMBERS')