Question
a.
reshape, resize
b.
resize, reshape
c.
reshape2, resize
d.
all of the mentioned
Posted under Data Science
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array itself.
Similar Questions
Discover Related MCQs
Q. To create sequences of numbers, NumPy provides a function __________ analogous to range that returns arrays instead of lists.
View solution
Q. Point out the correct statement.
View solution
Q. Which of the following function stacks 1D arrays as columns into a 2D array?
View solution
Q. ndarray is also known as the alias array.
View solution
Q. Which of the following method creates a new array object that looks at the same data?
View solution
Q. Which of the following function can be used to combine different vectors so as to obtain the result for each n-uplet?
View solution
Q. ndarray.dataitemSize is the buffer containing the actual elements of the array.
View solution
Q. Which of the following sets the size of the buffer used in ufuncs?
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following attribute should be used while checking for type combination input and output?
View solution
Q. Which of the following returns an array of ones with the same shape and type as a given array?
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following set the floating-point error callback function or log object?
View solution
Q. Some ufuncs can take output arguments.
View solution
Q. ___________ decompose the elements of x into mantissa and twos exponent.
View solution
Q. Which of the following function take only single value as input?
View solution
Q. The array object returned by __array_prepare__ is passed to the ufunc for computation.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Science? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!