Is there any way to retrieve the multi-index value based on the row number?
Like can I use .iloc[0] to retrieve somehow the value of the multi-index in an array form?
For example I have a multi-index [month, day, hour]. Can I use iloc[numRow] and get for example (1,1,1) being the multi-index values month 1, day 1 and hour 1?
df.iloc[numRow].get_index() does not work since it becomes a series and then it returns the column names as the index, but I really want the value of the multi-index of the row.