[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$feK7x1S3vGNOAunJ3QxYbAsd_YqdcLZUMLQ5hqYOsfzU":3},{"id":4,"source":5,"question":6,"options":7,"answer":12,"related":13,"type":24,"origin":101,"createTime":26},191750107,"v1","在Pandas中,使用groupby()方法进行分组时,若给参数`by`传入的值是列标签,此时会如何分组",[8,9,10,11],"无法进行分组","将该列中值不同的行拆分出来整合成一个分组","将该列中值相同的行拆分出来整合成一个分组","将整个数据集作为一个分组",[],[14,27,37,47,51,57,64,72,82,91],{"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":4,"source":5,"question":6,"options":48,"answer":49,"related":50,"type":24,"origin":25,"createTime":26},[8,9,10,11],[],[],{"id":52,"source":5,"question":53,"options":54,"answer":55,"related":56,"type":24,"origin":25,"createTime":26},191750110,"在使用groupby()方法进行分组时,参数`as_index`的作用是什么",[19,20,21,18],[],[],{"id":58,"source":5,"question":59,"options":60,"answer":61,"related":62,"type":24,"origin":25,"createTime":63},191750113,"在Pandas中,使用groupby()方法进行分组后,可以通过哪个方法对每个分组应用统计函数",[43,44,42,41],[],[],"2025-05-28T21:50:06+08:00",{"id":65,"source":5,"question":66,"options":67,"answer":70,"related":71,"type":24,"origin":25,"createTime":63},191750115,"在Pandas中,使用groupby()方法进行分组时,若给参数`by`传入的值是Series对象,此时会如何分组",[8,68,69,11],"根据Series对象中的值决定如何分组","根据Series对象中的索引决定如何分组",[],[],{"id":73,"source":5,"question":74,"options":75,"answer":80,"related":81,"type":24,"origin":25,"createTime":63},191750118,"在Pandas库中,使用`groupby()`方法进行数据分组时,下列哪个选项不是有效的分组键",[76,77,78,79],"列名","数值","索引","函数",[],[],{"id":83,"source":5,"question":29,"options":84,"answer":89,"related":90,"type":24,"origin":25,"createTime":63},191750122,[85,86,87,88],"mean","concat","count","sum",[],[],{"id":92,"source":5,"question":93,"options":94,"answer":99,"related":100,"type":24,"origin":25,"createTime":63},191750123,"在Pandas中,使用groupby()方法进行分组时,参数`by`可以接受哪些类型的值",[95,96,97,98],"可以是列标签、列表、数组、Series对象、字典或函数","只能是列表或数组","只能是列标签","只能是Series对象",[],[],{"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"]