+------------+---------+--------+ | | A | B | +------------+---------+--------- | 0 | 0.626386| 1.52325|----axis=1-----> +------------+---------+--------+ | | | axis=0 | ↓ ↓
axis = 0
: by column = column-wise = along the rows
axis = 1
: by row = row-wise = along the columns