Which NumPy function is used to create an array of a specified shape where all…
PYQ KVS TGT/PGT 2026
Which NumPy function is used to create an array of a specified shape where all elements are initialized to the value 0?
- A.
np.empty()
- B.
np.zeros()
- C.
np.ones()
- D.
np.null()
Attempted by 421 students.
Sign up free to check your answer
Sign up freeLoading lesson…

