result format different with an additional parameter [0] at the end of ek.get_data()

I found that the result format is a little bit different with 2 of following expression

1. sse50=ek.get_data('0#.SSE50',['DSPLY_NMLL','TR.RIC','TR.PriceClose','TR.Volume','TR.TotalReturnYTD'])[0]

2. sse50=ek.get_data('0#.SSE50',['DSPLY_NMLL','TR.RIC','TR.PriceClose','TR.Volume','TR.TotalReturnYTD'])


the only difference is '[0]' at the end of the expression. What's the function of the additional parameter?

Best Answer

Answers