Data analysis labpractice

Add a bonus to every row

Broadcast a length-3 bonus across a 2 by 3 grade table.

Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.

The table is two students by three assignments. The bonus has one number per assignment, so its shape lines up with the columns.

1

Apply the bonus

2

Scratch