So assume I have a dataframe with rownames that aren't a column of their own per se such as the following:
X Y
Row 1 0 5
Row 2 8 1
Row 3 3 0
How would I extract these row names as a list, if I have their index? For example, it would look something like:
function_name(dataframe[indices])
> ['Row 1', 'Row 2']
Thanks for your help!