NUMPY QUIZ DESCRIPTION Total Questions −30 00 Max Time − 15:00 The project builds on top of pandas and matplotlib to provide easy plotting of data. yhat Seaborn Vincent Pychart Numpy in the Python provides the Function Lambda function Type casting Array Which of the following is not correct sub-packages of SciPy? scipy.cluster scipy.source scipy.interpolate scipy.signal SciPy stands for? science library source library significant library scientific library It is possible to convert the Numpy array to list in python ? Yes No Sometimes None of the above Why ndim is used? Returns the number of elements in the underlying data. Returns the Series as ndarray. Returns the number of dimensions of the underlying data, by definition 1. Returns a list of the axis labels Which of the following is true? By default, all the NumPy functions have been available through the SciPy namespace There is no need to import the NumPy functions explicitly, when SciPy is imported. SciPy is built on top of NumPy arrays All of the above Which of the following is correct way to import the Numpy module in your program ? import numpy .import numpy as np from numpy import * All of the above How to import Constants Package in SciPy? import scipy.constants from scipy.constants import scipy.constants.package from scipy.constants.package Axis 1, in panel represent? minor_axis major_axis items None of the above How we can convert the Numpy array to the list in python? list(array) list.array array.list None of the above What will be output for the following code? import numpy as np print np.linspace(1., 4., 6) array([ 1. , 2.2, 2.8, 3.4, 4. ]) array([ 1. , 1.6, 2.8, 3.4, 4. ]) . array([ 1. , 1.6, 2.2, 2.8, 3.4, 4. ]) array([ 1. , 1.6, 2.2, 2.8, 4. ]) What will be output for the following code? import pandas as pd import numpy as np s = pd.Series(np.random.randn(2)) print s.size 0 1 2 3 Which of the following thing can be data in Pandas? a python dict an ndarray a scalar value All of the above Shape() function in Numpy array is used to Find the shape of the array Change the shape of the array Both of the above None of the above Which of the following is false? The integer format tracks only the locations and sizes of blocks of data. Pandas follow the NumPy convention of raising an error when you try to convert something to a bool. Two kinds of SparseIndex are implemented The integer format keeps an arrays of all of the locations where the data are not equal to the fill value Which of the following is used to convert the list data type to the Numpy array ? array(list) array.list Numpy.array(list) .None of the above How we can find the type of numpy array in python ? dtype type .typei .itype How we install Numpy in the system ? install numpy pip install python numpy .pip install numpy pip install numpy python Which of the following counts the number of elements in Numpy array ? count() return() shape() size() What will be syntax for pandas dataframe? pandas.DataFrame( data, index, dtype, copy) pandas.DataFrame( data, index, rows, dtype, copy) pandas_DataFrame( data, index, columns, dtype, copy) pandas.DataFrame( data, index, columns, dtype, copy) what is the use of the zeros() function in Numpy array in python ? To make a Matrix with all element 0 To make a Matrix with all diagonal element 0 To make a Matrix with first row 0 None of the above Python pandas was developed by? Guido van Rossum Travis Oliphant Wes McKinney Brendan Eich View Answer Numpy.array(list), what it does ? It convert array to list It convert list to array It convert array to array Error What is the use of the size attribute in Numpy array in python ? It find the direction It find the number of items It find the shape All of the above Which of the following is the essential argument to pass in full() function of Numpy array ? shape value Both of the above None of the above Which of the following keyword is used to access the numpy module in python ? access import fetch from Correct syntax of the reshape() function in Numpy array python is - array.reshape(shape) reshape(shape,array) reshape(array,shape) reshape(shape) Which of the following is not valid to import the numpy module ? import numpy as np import numpy as n .import numpy as p None of the above Minimum number of argument to pass in full() function in Numpy array ? 0 1 2 3 Previous Next Total Question16 Wrong Answer13 Right Answer13