Data Science Questions and Answers – Pandas – 2

This set of Data Science Interview Questions and Answers for freshers focuses on “Pandas – 2”.

1. 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. 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. 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. 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.

advertisement
advertisement

5. 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. 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.

Note: Join free Sanfoundry classes at Telegram or Youtube

7. 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. 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.

advertisement

9. 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. 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.

advertisement

Sanfoundry Global Education & Learning Series – Data Science.

Here’s the list of Best Books in Data Science.

To practice all areas of Data Science for interviews, Here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.