Solved

Which of the Following Statements Is False

Question 11

Multiple Choice

Which of the following statements is false?


A) Many calculation methods can be performed on specific array dimensions, known as the array's axes. These methods receive an axis keyword argument that specifies which dimension to use in the calculation, giving you a quick way to perform calculations by row or column in a two-dimensional array.
B) Assume that you want to calculate the average grade on each exam, represented by the columns of grades. Specifying axis=0 performs the calculation on all the row values within each column. Similarly, specifying axis=1 performs the calculation on all the column values within each individual row.
C) NumPy does not display trailing 0s to the right of the decimal point. Also, it does not display all element values in the same field width.
D) For a two-dimensional array grades in which each row represents one student's grades on several exams, we can calculate each student's average grade with: grades.mean(axis=1)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions