InterviewSolution
Saved Bookmarks
| 1. |
Point out the wrong statement.(a) Each universal function takes array inputs and produces array outputs(b) Broadcasting is used throughout NumPy to decide how to handle disparately shaped arrays(c) The output of the ufunc is necessarily an ndarray, if all input arguments are ndarrays(d) All of the mentionedThe question was posed to me during an interview.The above asked question is from NumPy topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» CORRECT answer is (C) The output of the ufunc is necessarily an ndarray, if all input ARGUMENTS are ndarrays The BEST I can explain: The output of the ufunc is not necessarily an ndarray, if all input arguments are not ndarrays. |
|