# subset the data with a Boolean flag to capture daughters isFemale = family_data.loc[:,"gender"] == "F"