The plot method on Series and DataFrame is just a simple wrapper around ____________
| A) gplt.plot() | B) plt.plot() |
| C) plt.plotgraph() | D) none of the mentioned |
The plot method on Series and DataFrame is just a simple wrapper around ____________
| A) gplt.plot() | B) plt.plot() |
| C) plt.plotgraph() | D) none of the mentioned |
Point out the correct combination with regards to kind keyword for graph plotting.
| A) ‘hist’ for histogram | B) ‘box’ for boxplot |
| C) ‘area’ for area plots | D) all of the mentioned |
Which of the following value is provided by kind keyword for barplot?
| A) bar | B) kde |
| C) hexbin | D) none of the mentioned |
You can create a scatter plot matrix using the __________ method in pandas.tools.plotting.
| A) sca_matrix | B) scatter_matrix |
| C) DataFrame.plot | D) All of the mentioned |
Point out the wrong combination with regards to kind keyword for graph plotting.
| A) ‘scatter’ for scatter plots | B) ‘kde’ for hexagonal bin plots |
| C) ‘pie’ for pie plots | D) none of the mentioned |
Which of the following plots are used to check if a data set or time series is random?
| A) Lag | B) Random |
| C) Lead | D) None of the mentioned |
Plots may also be adorned with error bars or tables.
| A) True | B) False |
Which of the following plots are often used for checking randomness in time series?
| A) Autocausation | B) Autorank |
| C) Autocorrelation | D) None of the mentioned |
__________ plots are used to visually assess the uncertainty of a statistic.
| A) Lag | B) RadViz |
| C) Bootstrap | D) None of the mentioned |
Andrews curves allow one to plot multivariate data.
| A) True | B) False |
Which is a python package used for 2D graphics?
| A) matplotlib.pyplot | B) matplotlib.pip |
| C) matplotlib.numpy | D) matplotlib.plt |
Identify the package manager for Python packages, or modules.
| A) Matplotlib | B) PIP |
| C) plt.show() | D) python package |
Read the following code: Identify the purpose of this code and choose the right option from the following.
C:\Users\YourName\AppData\Local\Programs\Python\Python36-32\Scripts>pip – version
| A) Check if PIP is Installed | B) Install PIP |
| C) Download a Package | D) Check PIP version |
Read the following code: Identify the purpose of this code and choose the right option from the following.
C:\Users\Your Name\AppData\Local\Programs\Python\Python36-32\Scripts>pip list
| A) List installed packages | B) list command |
| C) Install PIP | D) packages installed |
To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
Python –m pip install –U pip
| A) downloading pip to the latest version | B) upgrading pip to the latest version |
| C) removing pip | D) upgrading matplotlib to the latest version |
Which key is used to run the module?
| A) F6 | B) F4 |
| C) F3 | D) F5 |
Identify the right type of chart using the following hints.
Hint 1: This chart is often used to visualize a trend in data over intervals of time.
Hint 2: The line in this type of chart is often drawn chronologically.
| A) Line chart | B) Bar chart |
| C) Pie chart | D) Scatter plot |
Read the statements given below. Identify the right option from the following for pie chart.
Statement A: To make a pie chart with Matplotlib, we can use the plt.pie() function.
Statement B: The autopct parameter allows us to display the percentage value using the Python string formatting.
| A) Statement A is correct | B) Statement B is correct |
| C) Both the statements are correct | D) Both the statements are wrong |
Which function is used to read single line from file?
| A) Readline() | B) Readlines() |
| C) Readstatement() | D) Readfullline() |
Which function is used to write all the characters?
| A) write() | B) writecharacters() |
| C) writeall() | D) writechar() |
Pandas is an open-source _______ Library?
| A) Ruby | B) Javascript |
| C) Java | D) Python |
Pandas key data structure is called?
| A) Keyframe | B) DataFrame |
| C) Statistics | D) Econometrics |
In pandas, Index values must be?
| A) unique | B) hashable |
| C) Both A and B | D) None of the above |
Which of the following is correct Features of DataFrame?
| A) Potentially columns are of different types | B) Can Perform Arithmetic operations on rows and columns |
| C) Labeled axes (rows and columns) | D) All of the above |
A panel is a ___ container of data
| A) 1D | B) 2D |
| C) 3D | D) Infinite |
Which of the following is true?
| A) If data is an ndarray, index must be the same length as data. | B) Series is a one-dimensional labeled array capable of holding any data type. |
| C) Both A and B | D) None of the above |
Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame?
| A) DataFrame.from_items | B) DataFrame.from_records |
| C) DataFrame.from_dict | D) All of the above |
Which of the following makes use of pandas and returns data in a series or dataFrame?
| A) pandaSDMX | B) freedapi |
| C) OutPy | D) Inpy |
What will be output for the following code?
import pandas as pd
import numpy as np
s = pd.Series(np.random.randn(4))
print s.ndim
| A) 0 | B) 1 |
| C) 2 | D) 3 |
Which of the following indexing capabilities is used as a concise means of selecting data from a pandas object?
| A) In | B) ix |
| C) ipy | D) iy |
Which of the following thing can be data in Pandas?
| A) a python dict | B) an ndarray |
| C) a scalar value | D) all of the mentioned |
Point out the correct statement.
| A) If data is a list, if index is passed the values in data corresponding to the labels in the index will be pulled out | B) NaN is the standard missing data marker used in pandas |
| C) Series acts very similarly to a array | D) None of the mentioned |
The result of an operation between unaligned Series will have the ________ of the indexes involved.
| A) intersection | B) union |
| C) total | D) All of the mentioned |
Which of the following input can be accepted by DataFrame?
| A) Structured ndarray | B) Series |
| C) DataFrame | D) All of the mentioned |
Point out the wrong statement.
| A) A DataFrame is like a fixed-size dict in that you can get and set values by index label | B) Series can be be passed into most NumPy methods expecting an ndarray |
| C) A key difference between Series and ndarray is that operations between Series automatically align the data based on label | D) None of the mentioned |
Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame?
| A) DataFrame.from_items | B) DataFrame.from_records |
| C) DataFrame.from_dict | D) All of the mentioned |
Series is a one-dimensional labeled array capable of holding any data type.
| A) True | B) False |
Which of the following works analogously to the form of the dict constructor?
| A) DataFrame.from_items | B) DataFrame.from_records |
| C) DataFrame.from_dict | D) All of the mentioned |
Which of the following operation works with the same syntax as the analogous dict operations?
| A) Getting columns | B) Setting columns |
| C) Deleting columns | D) All of the mentioned |
If data is an ndarray, index must be the same length as data.
| A) True | B) False |
Best way to import the pandas module in your program ?
| A) import pandas | B) import pandas as p |
| C) from pandas import * | D) All of the above |
DataFrame in pandas is
| A) 1 dimensional array | B) 2 dimensional array |
| C) 3 dimensional array | D) None of the above |
For what purpose a Pandas is used ?
| A) To create a GUI programming | B) To create a database |
| C) To create a High level array | D) All of the above |
In data science, which of the python library are more popular ?
| A) Numpy | B) Pandas |
| C) OpenCv | D) Django |
Minimum number of argument we require to pass in pandas series ?
| A) 0 | B) 1 |
| C) A2 | D) 3 |
Series in Pandas is
| A) 1 dimensional array | B) 2 dimensional array |
| C) 3 dimensional array | D) None of the above |
Way to install the pandas library ?
| A) install pandas | B) pandas install python |
| C) python install pandas | D) None of the above |
we can analyze the data in pandas with :
| A) Series | B) DataFrame |
| C) Both of the above | D) None of the above |
What we pass in DataFrame in pandas ?
| A)Integer | B) String |
| C) Pandas series | D) All of the above |
In which of the following field, we can put our Button?
| A) Window | B) Frame |
| C) Label | D) All of the above |
SciPy stands for?
| A) science library | B) source library |
| C) significant library | D) scientific library |
Which of the following is not correct sub-packages of SciPy?
| A) scipy.cluster | B) scipy.source |
| C) scipy.interpolate | D) scipy.signal |
Which of the following is true?
| A) By default, all the NumPy functions have been available through the SciPy namespace | B) There is no need to import the NumPy functions explicitly, when SciPy is imported. |
| C) SciPy is built on top of NumPy arrays | D) All of the above |
What will be output for the following code?
import numpy as np
print np.linspace(1., 4., 6)
| A) array([ 1. , 2.2, 2.8, 3.4, 4. ]) | B) array([ 1. , 1.6, 2.8, 3.4, 4. ]) |
| C) array([ 1. , 1.6, 2.2, 2.8, 3.4, 4. ]) | D) array([ 1. , 1.6, 2.2, 2.8, 4. ]) |
How to import Constants Package in SciPy?
| A) import scipy.constants | B) from scipy.constants |
| C) import scipy.constants.package | D) from scipy.constants.package |
what is constant defined for Boltzmann constant in SciPy?
| A) G | B) e |
| C) R | D) k |
What will be output for the following code?
from scipy import linalg
import numpy as np
a = np.array([[3, 2, 0], [1, -1, 0], [0, 5, 1]])
b = np.array([2, 4, -1])
x = linalg.solve(a, b)
print x
| A) array([ 2., -2., 9., 6.]) | B) array([ 2., -2., 9.]) |
| C) array([ 2., -2.]) | D) array([ 2., -2., 9., -9.]) |
In SciPy, determinant is computed using?
| A) determinant() | B) SciPy.determinant() |
| C) det() | D) SciPy.det() |
Which of the following is false?
| A) scipy.linalg also has some other advanced functions that are not in numpy.linalg | B) SciPy version might be faster depending on how NumPy was installed. |
| C) Both A and B | D) None of the above |
What relation is consider between Eigen value (lambda), square matrix (A) and Eign vector(v)?
| A) Av = lambda*v | B) Av =Constant * lambda*v |
| C) Av =10 * lambda*v | D) Av != lambda*v |
Flask is a web development framework created in ___________ language.
| A) C | B) Java |
| C) Python | D) Javascript |
Is the Flask framework open source?
| A) TRUE | B) FALSE |
| C) Can be true or false | D) Can not say |
It is released under the ___________ Clause.
| A) BSD-0 | B) BSD-1 |
| C) BSD-2 | D) BSD-3 |
How to add the mailing feature in the Flask Application?
| A) pip install Flask | B) pip install Flask-Mail |
| C) install Flask-Mail | D) pip Flask-Mail |
WSGI stands for the?
| A) Write Server Gateway Interface | B) Web Static Gateway Interface |
| C) Web Server Gateway Interface | D) Web Server Gateway Interact |
Flask default port is?
| A) 2000 | B) 3000 |
| C) 4000 | D) 5000 |
Flask default host is a localhost (127.0.0.1)
| A) TRUE | B) FALSE |
| C) Can be true or false | D) Can not say |
Flask is called a?
| A) miniframework | B) microframework |
| C) peraframework | D) nanoframework |
Which of the following are the benefits of using the Flask framework?
| A) It has an inbuilt development server. | B) It has vast third-party extensions. |
| C) It is WSGI compliant. | D) All of the above |
Flask works with most of the RDBMSs, such as?
| A) PostgreSQL | B) SQLite |
| C) MySQL | D) All of the above |
Not a member yet? Register now
Are you a member? Login now