Engineering Questions with Answers - Multiple Choice Questions

MCQs on Pandas – 2

1 - Question

Quandl API for Python wraps the ________ REST API to return Pandas DataFrames with time series indexes.
a) Quandl
b) PyDatastream
c) PyData
d) None of the mentioned

View Answer

Answer: a
Explanation: PyDatastream is a Python interface to the Thomson Dataworks Enterprise (DWE/Datastream) SOAP API to return indexed pandas dataFrames or panels with financial data.




2 - Question

Point out the correct statement.
a) Statsmodels provides powerful statistics, econometrics, analysis and modeling functionality that is out of panda’s scope
b) Vintage leverages pandas objects as the underlying data container for computation
c) Bokeh is a Python interactive visualization library for small datasets
d) All of the mentioned

View Answer
Answer: a
Explanation: Bokeh goal is to provide elegant, concise construction of novel graphics in the style of D3.

 

 




3 - Question

Which of the following library is used to retrieve and acquire statistical data and metadata disseminated in SDMX 2.1?
a) pandaSDMX
b) freedapi
c) geopandas
d) all of the mentioned

View Answer

Answer: a
Explanation: Geopandas extends pandas data objects to include geographic information which supports geometric operations.




4 - Question

Which of the following provides a standard API for doing computations with MongoDB?
a) Blaze
b) Geopandas
c) FRED
d) All of the mentioned

View Answer
Answer: a
Explanation: If your work entails maps and geographical coordinates, and you love pandas, you should take a close look at Geopandas.

 

 



5 - Question

Point out the wrong statement.
a) qgrid is an interactive grid for sorting and filtering DataFrames
b) Pandas DataFrames implement _repr_html_ methods which are utilized by IPython Notebook
c) Spyder is a cross-platform Qt-based open-source R IDE
d) None of the mentioned

View Answer

Answer: c
Explanation: Spyder is a cross-platform Qt-based open-source Python IDE.




6 - Question

Which of the following makes use of pandas and returns data in a series or dataFrame?
a) pandaSDMX
b) freedapi
c) OutPy
d) none of the mentioned

View Answer

Answer: b
Explanation: freedapi module requires a FRED API key that you can obtain for free on the FRED website.




7 - Question

Spyder can introspect and display Pandas DataFrames.
a) True
b) False

View Answer

Answer: b
Explanation: Spyder show both “column wise min/max and global min/max coloring.




8 - Question

Which of the following is used for machine learning in python?
a) scikit-learn
b) seaborn-learn
c) stats-learn
d) none of the mentioned

View Answer

Answer: a
Explanation: scikit-learn is built on NumPy, SciPy, and matplotlib.




9 - Question

The ________ project builds on top of pandas and matplotlib to provide easy plotting of data.
a) yhat
b) Seaborn
c) Vincent
d) None of the mentioned

View Answer

Answer: b
Explanation: Seaborn has great support for pandas data objects.




10 - Question

x-ray brings the labeled data power of pandas to the physical sciences.
a) True
b) False

View Answer

Answer: a
Explanation: It aims to provide a pandas-like and pandas-compatible toolkit for analytics on multi-dimensional arrays.

Get weekly updates about new MCQs and other posts by joining 18000+ community of active learners