in Education 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 I have been asked this question during an online exam. The above asked question is from NumPy topic in division Developing Data Products and Working with NumPy of Data Science Select the correct answer from above options Data Science questions and answers, Data Science questions pdf, Data Science question bank, Data Science questions and answers pdf, mcq on Data Science pdf, Data Science questions and solutions, Java mcq Test , Interview Data Science questions, Data Science Questions for Interview, Data Science MCQ (Multiple Choice Questions),Core Data Science Questions, Core Data Science MCQ,core Data Science interview questions for experiencedcore Data Science interview questions for 3 years experience,Data Science programming questions,core Data Science interview questions for freshers,Data Science interview questions and answers for freshers, Data Science programming questions and answers pdf, Data Science interview questions for beginners

1 Answer

0 votes
by
 
Best answer
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
    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
    The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array itself. (a) ... (c) reshape2, resize (d) all of the mentioned...
asked Oct 7, 2021 in Technology by JackTerrance
0 votes
    Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 31, 2021 in Education by JackTerrance
0 votes
    Which of the following argument specifies margin size with regards to par function? (a) las (b) bg (c ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    To create sequences of numbers, NumPy provides a function __________ analogous to range that returns arrays instead ... answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following command updates tracking for files that are modified? (a) git add . (b) git ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following method creates a new array object that looks at the same data? (a) view (b) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Color and shape are used to add dimensions to graph data. (a) True (b) False This question was posed ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following function stacks 1D arrays as columns into a 2D array? (a) row_stack (b) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following argument is used to set importance values? (a) scale (b) set (c) value (d ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following makes use of pandas and returns data in a series or dataFrame? (a) pandaSDMX (b ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    gvisAnnotatedTimeLine returns list of class gvis and list . (a) True (b) False I got this question ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following method options is provided by train function for bagging? (a) bagEarth (b) treebag ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Quandl API for Python wraps the ________ REST API to return Pandas DataFrames with time series indexes. (a) ... and answers pdf, Data Science interview questions for beginners...
asked Oct 31, 2021 in Education by JackTerrance
0 votes
    Series is a one-dimensional labeled array capable of holding any data type. (a) True (b) False The ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 31, 2021 in Education by JackTerrance
...