I'm trying to locate the column and index of each element in the 2D list, however I seem unable to do so. The 2D Array is the one below.
Top_Level_Data = [['Fund Code', 'Total Return ( Local )', 'Currency Return', 'Income Return', 'Total Return', 'Contrib. To Return', 'Bmark Total Return'], ['L09CBD', 1.99230092282758, 2.82574117438372e-06,
0.215178694163583, 1.99230092282758, 1.99230380178837, 2.18128409041032]]
I am for example trying to get the following: Top_Level_Data.index('Fund Code')
However I am receiving errors such as 'Fund Code' is not in list. Could it be because the array contains different data types? Any help would be super appreciated. Thanks!