access dataframe by row and column name code example Example: dataframe get row by name row_data = df.loc[ 'a' , : ]