Pandas

Question 1
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 2
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.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Panel is a container for Series, and DataFrame is a container for dataFrame objects.
True
False
Explanation:
DataFrame is a container for Series, and panel is a container for dataFrame objects.
Question 4
Marks : +2 | -2
Pass Ratio : 50%
Pandas consist of static and moving window linear and panel regression.
True
False
Explanation:
Time series and cross-sectional data are special cases of panel data.
Question 5
Marks : +2 | -2
Pass Ratio : 50%
Which of the following is the base layer for all of the sparse indexed data structures?
SArray
SparseArray
PyArray
None of the mentioned
Explanation:
SparseArray is a 1-dimensional ndarray-like object storing only values distinct from the fill_value.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
All of the standard pandas data structures have a to_sparse method
Any sparse object can be converted back to the standard dense form by calling to_dense
The sparse objects exist for memory efficiency reasons
All of the mentioned
Explanation:
The to_sparse method takes a kind argument and a fill_value.
Question 7
Marks : +2 | -2
Pass Ratio : 50%
Point out the correct statement.
Pandas consist of set of labeled array data structures
Pandas consist of an integrated group by engine for aggregating and transforming data sets
Pandas consist of moving window statistics
All of the mentioned
Explanation:
Some elements may be close to one another according to one distance and farther away according to another.
Question 8
Marks : +2 | -2
Pass Ratio : 50%
Point out the correct statement.
Statsmodels provides powerful statistics, econometrics, analysis and modeling functionality that is out of panda’s scope
Vintage leverages pandas objects as the underlying data container for computation
Bokeh is a Python interactive visualization library for small datasets
All of the mentioned
Explanation:
Bokeh goal is to provide elegant, concise construction of novel graphics in the style of D3.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following method is used for transforming a SparseSeries indexed by a MultiIndex to a scipy.sparse.coo_matrix?
SparseSeries.to_coo()
Series.to_coo()
SparseSeries.to_cooser()
None of the mentioned
Explanation:
Experimental api to transform between sparse pandas and scipy.sparse structures.
Question 10
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.