How do I turn my get_data() output into a dataframe? I'd like the index to be the RIC and the column headings to be the fields. I believe the output is currently a tuple. #import packages import eikon as ek # the Eikon Python wrapper package import pandas as pd import numpy as np import datetime from datetime import timedelta, date, datetime from dateutil.relativedelta import relativedelta #connects to Bill's Eikon terminal ek.set_app_key('XXXX') test_1 = ek.get_data('TSLA.O', ['TR.NumOfStrongBuy', 'TR.NumOfBuy', 'TR.NumOfHold', 'TR.NumOfSell', 'TR.NumOfStrongSell']) print(test_1)
Thanks