take rownum value from dataframe index