How To Identify Rows And Columns In Python