What does axis in pandas mean?

Usually,

  1. axis=0 is said to be “column-wise” and
  2. axis=1 is said to be “row-wise

By default axis=0

the reason that axis=0 indicates aggregating along rows and axis=1 indicates aggregating along columns is because of how you index into a dataframe.

What does axis in pandas mean? What does axis in pandas mean?