axis=1 in python means code example
Example: axis = 1 python
axis = 1 => 'Coulumn'
axis = 0 => 'Row'
+------------+---------+--------+
| | A | B |...
+------------+---------+---------
| 0 | 0.626386| 1.52325|----axis=1----->
+------------+---------+--------+
. | |
. | axis=0 |
↓ ↓