, inplace =True表示在源DataFrame上修改,否则生成新的Frame,
# 默认排序从小到大ascending=True,Flase 为从大到小
# 对于列中某些为空的 显示时为...["xxx"].mean() 自带的直接过滤
为空的是True
0 NaN
...
"""
# 聚合函数,分组后求平均:基本思路是循环
# 按照index分组,求values的平均值
# values...0删除行中为空的 若为行 使用subnet = [1,2,3]
# student_teacher.loc[83,"序号"] # 直接定位到值
# student_teacher.sort_index...("Age") # 按照Age排序, 结果中多添加的index列与会按照age排序
# student_teacher.sort_index("Age").reset_index(drop=True)...内部子结构Series
# 例如 某一列的type 就是pandas.core.series.Series
# student_teacher["xx"] 可再次对它进行切片
# ======