[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fIpuiDb9Qsm3XzPOzul6AV1uX79ALVLsrc1DRcMd8vEg":3},{"id":4,"source":5,"question":6,"options":7,"answer":12,"related":13,"type":24,"origin":101,"createTime":69},191750123,"v1","在Pandas中,使用groupby()方法进行分组时,参数`by`可以接受哪些类型的值",[8,9,10,11],"可以是列标签、列表、数组、Series对象、字典或函数","只能是列表或数组","只能是列标签","只能是Series对象",[],[14,27,37,47,57,63,70,78,88,97],{"id":15,"source":5,"question":16,"options":17,"answer":22,"related":23,"type":24,"origin":25,"createTime":26},191750099,"在使用groupby()方法进行分组时,参数`sort`的作用是什么",[18,19,20,21],"控制是否沿行或列拆分","控制是否返回以分组标签作为索引的对象输出","控制是否删除缺失值","控制是否对分组标签进行排序",[],[],0,null,"2025-05-28T21:50:05+08:00",{"id":28,"source":5,"question":29,"options":30,"answer":35,"related":36,"type":24,"origin":25,"createTime":26},191750102,"在Pandas中,使用agg()方法聚合数据时,下列哪个选项不是合法的聚合函数",[31,32,33,34],"min","median","join","max",[],[],{"id":38,"source":5,"question":39,"options":40,"answer":45,"related":46,"type":24,"origin":25,"createTime":26},191750104,"在Pandas中,使用groupby()方法进行分组后,可以通过哪个方法对每个分组应用统计函数并返回标量值",[41,42,43,44],"filter()","agg()","transform()","apply()",[],[],{"id":48,"source":5,"question":49,"options":50,"answer":55,"related":56,"type":24,"origin":25,"createTime":26},191750107,"在Pandas中,使用groupby()方法进行分组时,若给参数`by`传入的值是列标签,此时会如何分组",[51,52,53,54],"无法进行分组","将该列中值不同的行拆分出来整合成一个分组","将该列中值相同的行拆分出来整合成一个分组","将整个数据集作为一个分组",[],[],{"id":58,"source":5,"question":59,"options":60,"answer":61,"related":62,"type":24,"origin":25,"createTime":26},191750110,"在使用groupby()方法进行分组时,参数`as_index`的作用是什么",[19,20,21,18],[],[],{"id":64,"source":5,"question":65,"options":66,"answer":67,"related":68,"type":24,"origin":25,"createTime":69},191750113,"在Pandas中,使用groupby()方法进行分组后,可以通过哪个方法对每个分组应用统计函数",[43,44,42,41],[],[],"2025-05-28T21:50:06+08:00",{"id":71,"source":5,"question":72,"options":73,"answer":76,"related":77,"type":24,"origin":25,"createTime":69},191750115,"在Pandas中,使用groupby()方法进行分组时,若给参数`by`传入的值是Series对象,此时会如何分组",[51,74,75,54],"根据Series对象中的值决定如何分组","根据Series对象中的索引决定如何分组",[],[],{"id":79,"source":5,"question":80,"options":81,"answer":86,"related":87,"type":24,"origin":25,"createTime":69},191750118,"在Pandas库中,使用`groupby()`方法进行数据分组时,下列哪个选项不是有效的分组键",[82,83,84,85],"列名","数值","索引","函数",[],[],{"id":89,"source":5,"question":29,"options":90,"answer":95,"related":96,"type":24,"origin":25,"createTime":69},191750122,[91,92,93,94],"mean","concat","count","sum",[],[],{"id":4,"source":5,"question":6,"options":98,"answer":99,"related":100,"type":24,"origin":25,"createTime":69},[8,9,10,11],[],[],{"courseName":102,"courseImg":103,"workName":104,"workId":105,"count":106,"courseId":107},"数据分析","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F9c1e48361b00f3ee2086f4e259ed792b.jpg","第五章练习","work_43867101",41,"7f08b18bcba1373bebfdbf1d9a2b50f5"]