data = read_csv('claims.csv', sep = ',')
groupby_gender = data.groupby('Gender')
for gender, value in groupby_gender['Marker1']:
print(gender, value)
This is what I tried to do to group the mentioned column but "Marker1" has two columns under it but when I run the program only one of the columns is displayed.
Gender Age Marker1
Female Adult CR213 381 385
Male Adult CR214 385 385
Male Adult CR215 385 385
Female Adult CR216 381 385
That is the table. Under the column "Marker1", there are those two numbers. So I am trying to read, say 381 and 385, together so I can compare them to another column.