in Technology by

The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array itself.

(a) reshape, resize

(b) resize, reshape

(c) reshape2, resize

(d) all of the mentioned

1 Answer

0 votes
by

The correct answer is (a) reshape, resize

Easy explanation - If a dimension is given as -1 in a reshaping operation, the other dimensions are automatically calculated.

Related questions

0 votes
    The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array ... answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following returns an array of ones with the same shape and type as a given array? (a) all_like (b) ones_like (c) one_alike (d) all of the mentioned...
asked Oct 9, 2021 in Technology by JackTerrance
0 votes
    Which of the following returns an array of ones with the same shape and type as a given array? (a) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Does the argument information in brain is adaptable, whereas in the computer it is replaceable is valid? (a) ... Networks of Neural Networks Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
0 votes
    isNan function returns ______ if the argument is not a number otherwise it is ______ 1. False/True 2. False/False 3. True / False 4. True / True...
asked Feb 23, 2021 in Technology by JackTerrance
+1 vote
    isNan function returns ______ if the argument is not a number otherwise it is ______? a)False/True b)False/False c)True / False d)True / True...
asked Oct 8, 2020 in Technology by JackTerrance
0 votes
    Which of the following function of Array object removes the last element from an array and returns that element? push() delete() pop() link()...
asked Dec 24, 2020 in Technology by JackTerrance
0 votes
    I have a function value(x) which is overloaded for many types such that: double value(double x) { return x; } double ... [-Wreturn-local-addr] in the following code: Matrix33 m; m...
asked Apr 24, 2022 in Education by JackTerrance
0 votes
    What are the steps to use shape for a 1D array, 2D array and 3D/ND array respectively in NumPy?...
asked Apr 24, 2021 in Technology by JackTerrance
0 votes
    In LISP, the function returns t if is a CONS cell and nil otherwise ________ (a) (cons ) (b) (consp ) (c) (eq ) (d) (cous =) Please answer the above question....
asked Oct 9, 2022 in Education by JackTerrance
0 votes
    In LISP, the function returns t if is a CONS cell and nil otherwise ________ (a) (cons ) (b) (consp ) (c) (eq ) (d) (cous =) Please answer the above question....
asked Oct 2, 2022 in Education by JackTerrance
0 votes
    In LISP, the function returns t if is a CONS cell and nil otherwise ________ (a) (cons ) (b) (consp ) (c) (eq ) (d) (cous =) Please answer the above question....
asked Sep 23, 2022 in Education by JackTerrance
0 votes
    It's probably obvious to you, but I can't figure it out. I need to make function that returns it ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    It's probably obvious to you, but I can't figure it out. I need to make function that returns it ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Write whether the following statements are true or false, with the suitable reason: i. Absence of genetic recombination ... new Sycon. Select the correct answer from above options...
asked Nov 9, 2021 in Education by JackTerrance
...