数据源格式
选取性别为男的特定行(返回类型为pandas.core.frame.DataFrame)
df.loc[df["性别"] == "男"]
选取性别为男的特定行身高特定列(返回类型为pandas.core.series.Series)
df.loc[df["性别"] == "男"]["身高(cm)"]
选取性别为男的特定行(返回类型为pandas.core.frame.DataFrame)
df.loc[df["性别"] == "男"]
选取性别为男的特定行身高特定列(返回类型为pandas.core.series.Series)
df.loc[df["性别"] == "男"]["身高(cm)"]