A

Admin • 802.91K Points
Coach

Q. What is returned by `df.mean(axis=1)`?

  • (A) Mean of each row
  • (B) Mean of each column
  • (C) Sum of each row
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`axis=1` applies function across columns, hence returns row-wise means.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.