title: the axis in the apply method (Pandas)
body: <p>This is a simple question, but felt like I needed to make sure.</p>
  <pre><code>df.apply(func, axis=1)
  </code></pre>
  <p>Apparently, this code is supposed to execute the function row-wise for a given dataset. However, according to my knowledge, row-wise operations are done by axis = 0, not axis =1.</p>
  <p>Could anyone tell me if the apply method somehow operates differently and I just need to know that this is an exception?</p>