What's the rational for throwing this error?
data, err = eikon.get_data('SPY', fields='TR.FundBenchmarkName', raw_output=True)
[Error: too many values to unpack]
Wouldn't be more consistent to retrieve a datatype independent of the number of values to unpack? In addition, when raw_output=False I think that we are supposed to retrieve a pandas.DataFrame and not a tuple according to the documentation.
data = eikon.get_data('SPY', fields='TR.FundBenchmarkName', raw_output=False)
type(data): tuple
data, err = eikon.get_data('SPY', fields='TR.FundBenchmarkName', raw_output=False)
type(data): pandas.DataFrame
data = eikon.get_data('SPY', fields='TR.FundBenchmarkName', raw_output=True)
type(data) is dict.