# subset the data with a Boolean flag, capture male children isMale = family_data.loc[:,"gender"] == "M"