How to get row indices and how can I change row indices/row names in a Julia DataFrame?

You cannot. DataFrames, unlike pandas, has no concept of row indices. You can obviously change the columns "I" and "II", and you can kind of treat those as indices via findfirst, but there isn’t really a one-to-one translation to pandas in that way.

2 Likes