print duplicate rows of python matrix code example Example: how to print ceratin rows of dataframe df.loc[row,column]