File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 423423 }
424424 ],
425425 "source" : [
426- " regiment.groupby(regiment[ 'company'] ).describe()"
426+ " regiment.groupby('company').describe()"
427427 ]
428428 },
429429 {
455455 }
456456 ],
457457 "source" : [
458- " regiment['preTestScore'] .groupby(regiment[ 'company']) .mean()"
458+ " regiment.groupby('company').preTestScore .mean()"
459459 ]
460460 },
461461 {
491491 }
492492 ],
493493 "source" : [
494- " regiment['preTestScore'] .groupby([regiment[ 'regiment'], regiment[ 'company']]) .mean()"
494+ " regiment.groupby(['regiment', 'company']).preTestScore .mean()"
495495 ]
496496 },
497497 {
559559 }
560560 ],
561561 "source" : [
562- " regiment['preTestScore'] .groupby([regiment[ 'regiment'], regiment[ 'company']]) .mean().unstack()"
562+ " regiment.groupby(['regiment', 'company']).preTestScore .mean().unstack()"
563563 ]
564564 },
565565 {
You can’t perform that action at this time.
0 commit comments