Hello. I continue to study pandas and encountered the following problem: I have a csv file in which there are n number of columns (well, the values ββin these columns). There is a column (sign) race - it indicates the nationality of a person. there is a sex column β it contains a gender (Male is a man; Female is a woman) and there is a age column β age. The task is as follows: to get the maximum age of men of the Amer-Indian-Eskimo race. Just getting the maximum age for both men and women is not a problem:
print(df[df['race'] == 'Amer-Indian-Eskimo'] ['age'].max()) In general, I can not calculate the maximum age of men. I do not understand how to specify in the code that the Male value from the sex column should be considered