I have a csv file with place name, score A and Score B, i want to pull the Score A and Score B values of each place. With the help of pandas i read the csv and stored in a DF like below
import pandas as pd
csvdf = pd.read_csv("E:\redsa.csv")
print(csvdf)
I am getting the following output
          Place     ScoreA   ScoreB
0         Place 1   108       775
1         Place 2   109       781
I want to pull Score A and Score B values for each place and store them in separate variables and i tried below for this
for row in csvdf.iterrows():
    print(csvdf['ScoreA'],csvdf['ScoreB'])
I am getting below output
0    108
1    109
Name: ScoreA, dtype: float64 0    775
1    781
Name: ScoreB, dtype: float64
0    108
1    109
Name: ScoreA, dtype: float64 0    775
1    781
Name: ScoreB, dtype: float64
i want to iterate through each place and get the ScoreA and ScoreB and store them in their respective variables, how can i get this done
 
    