cjacobs8565 cjacobs8565
  • 15-01-2024
  • Computers and Technology
contestada

A two-dimensional numpy array х is defined as: X = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) Which of the following code snippets would return the sum of the last row of X ?
* X[:, 2].sumo
X[3].sumo
X[-1,:].sumo
X[:,-1].sumo

Respuesta :

Otras preguntas

PLEASE HELP I GIVE THANKS
PLEASE HELP I GIVE THANKS
write in pence the value of The 9 in £8.90
Explain how cobalt-60 and cobalt -59 can be the same element but have different mass numbers
what was unknown in europe before european explorers visited the americans
What is the cube root of 159?
Which biome is characterized by low annual rainfall, less than 26 centimeters (about 10-11 inches) per year?
If x = –1 and y = 2, what is the value of the expression 2x3 – 3xy ?
A store offers a 10% discount on all merchandise as part of its anniversary sale. Select all statements that are correct. A jar that costs $10 will cost $11 aft
what multiplies to -140 and adds to -31