Store values from rows of a DataFrame and use them in another operation
df.values is a numpy array of a dataframe. So you can manipulate df.values for subsequent processing.
I have a DataFrame I read from a CSV file and I want to store the individual values from the rows in the DataFrame in some variables. I want to use the values from the DataFrame in another step to perform another operation. Note that I do not want the result as series  but values such as integers. I am still learning but I could not understand those resources I have consulted. Thank you in advance.




X
Y
Z




1
2
3


3
2
1


4
5
6




I want the values in a variable as x=1,3,4 and so on, as stated above.