Which of the following is a Scientific distribution of Python, used for Data Science?
All
How to write the word 'Python' in markdown, to emphasize it in bold ?**Python**
Which of the following is used to know about an object in Ipython? ?
Which of the following are Python libraries used for Data Science ALL
Which of the following characters are used to represent an unordered list? ALL
It is possible to embed code snippets in markdown. State True or False?T
Which language is used to write documentation in a Jupyter Notebook?MARKDOWN
Which of the following magic method list the history of input commands ?%history
What is the basic element of a Jupyter Notebook ?Cell
Which of the following attribute returns total number of bytes consumed by a ndarray?nbytes
Which of the following attribute determine the number of dimensions of a ndarray? ndim
Which of the following is Ture about Numpy array data elements?Data elements are of same type and of
fixed size
What is the output of the following code? import numpy as np x = np.array([[3.2, 7.8, 9.2], 8
What is the output of the following code? import numpy as np y = np.array([3+4j, 0.4+7.8j]) complex128
Which of the following attribute returns the number of elements in each dimension of a multi
dimensional array? shape
Which of the following numpy method is used to simulate a binomial distribution?binomial
What is the output of the following code ? import numpy as np z = np.eye(2) print(y) [[ 1. 0.] [ 0. 1.]]
What is the output of the following code ? import nupy as np print(np.array(([1, 2], (3,4))).shape) 2,2
Which of the following method is used to read data from a text file?loadtxt
Which of the following expressions return an Error?2
import numpy as np x = np.array([[-1,0,1], [-2, 0, 2]]) y = np.zeros_like(x) print(y) [[0 0 0] [0 0 0]]
Which of the following numpy method is used to join arrays vertically ?vstack
What is the output of the following code ? import numpy as np x = np.arange(6).reshape(2,3)
[[0 1] [3 4]]
Array x is defined below. Determine the number of elements of it contains in second dimension?15
What is the output of the following code? import numpy as np x = np.arange(4).reshape(2,2)
[[0 1]]
Which of the following numpy method is used to join arrays horizontally ?hstack
What is the shape of array x defined below?Results in Error while creating x
What is the output of the following code ?import numpy as np x = np.arange(4).reshape(2,2) [[0 1 4 5] [2
3 6 7]]
Which of the following method is used to convert the data type of an array? astype
What is the shape of Broadcasting array resulted from arrays with shapes (4, 1, 1,7) and (3, 1) ?(4, 1, 3, 7)
What is the outout of the following code ? import numpy as np x = np.array([[-2],
[[-5 1] [-1 5]]
What is the output of the following Code? import numpy as np x = np.arange(4) [ True True True True]
True
Is Broadcasting feasible between two arrays whose shapes are (5, 8, 2) and (2,) ?T
What is the output of the following code ? import numpy as np x = np.arange(4).reshape(2,2) [[0, 1], [2,
3]]
What is the output of the following code?import numpy as np x = np.arange(30).reshape(5,6)
print(x.argmax(axis=1)) [5 5 5 5 5]
What is the output of the following code? import numpy as np print(np.repeat(3, 4))
[3 3 3 3]
What is the ouput of the following code? import numpy as np x = np.arange(4).reshape(2,2)F
What is the output of the following Code? import numpy as np x = np.arange(4) [0 1 4 9]
What is the output of the following code ? import numpy as np x = np.arange(20).reshape(4,5) [ 2. 7.
12. 17.]
Is Broadcasting feasible between two arrays whose shapes are (5, 8, 1) and (4, 2) ? No
Which of the following method is used to check if a number is an infinite or not ?isinfinite
What is the output of the following code? import numpy as np x = np.array([[0, 1], [1, 1], [2, 2]]) [[0 1]]
What is the output of the following code? import numpy as np x = np.array([[0, 1], [1, 1], [2, 2]]) [1 2 4]
What is the output of the following code? import numpy as np x=np.arange(30).reshape(3,5,2) [14 15]
What is the output of the following code? import numpy as np x = np.arange(4) [0 1 2 3]
What is the output of the following code? import numpy as np x = np.arange(12).reshape(3,4)
[4 5 6 7]