Pandas

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following library is similar to Pandas?
NumPy
RPy
OutPy
None of the mentioned
Explanation:
NumPy is the fundamental package for scientific computing with Python.
Question 2
Marks : +2 | -2
Pass Ratio : 50%
Which of the following is used for testing for membership in the list of column names?
in
out
elseif
none of the mentioned
Explanation:
For DataFrames, likewise, in applies to the column axis.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
Series is 1D labeled homogeneously-typed array
DataFrame is general 2D labeled, size-mutable tabular structure with potentially heterogeneously-typed columns
Panel is generally 2D labeled, also size-mutable array
None of the mentioned
Explanation:
Panel is generally 3D labeled.
Question 4
Marks : +2 | -2
Pass Ratio : 50%
Which of the following list-like data structure is used for managing a dynamic collection of SparseArrays?
SparseList
GeoList
SparseSeries
All of the mentioned
Explanation:
To create one, simply call the SparseList constructor with a fill_value.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
The integer format tracks only the locations and sizes of blocks of data.
True
False
Explanation:
The block format tracks only the locations and sizes of blocks of data.
Question 6
Marks : +2 | -2
Pass Ratio : 33%
Which of the following is used for machine learning in python?
scikit-learn
seaborn-learn
stats-learn
none of the mentioned
Explanation:
scikit-learn is built on NumPy, SciPy, and matplotlib.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
All pandas data structures are ___ mutable but not always _______mutable.
size, value
semantic, size
value, size
none of the mentioned
Explanation:
The length of a Series cannot be changed.
Question 8
Marks : +2 | -2
Pass Ratio : 50%
Quandl API for Python wraps the ________ REST API to return Pandas DataFrames with time series indexes.
Quandl
PyDatastream
PyData
None of the mentioned
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.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Spyder can introspect and display Pandas DataFrames.
True
False
Explanation:
Spyder show both “column wise min/max and global min/max coloring.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
The ________ project builds on top of pandas and matplotlib to provide easy plotting of data.
yhat
Seaborn
Vincent
None of the mentioned
Explanation:
Seaborn has great support for pandas data objects.