Pandas

Question 1
Marks : +2 | -2
Pass Ratio : 100%
x-ray brings the labeled data power of pandas to the physical sciences.
True
False
Explanation:
It aims to provide a pandas-like and pandas-compatible toolkit for analytics on multi-dimensional arrays.
Question 2
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 3
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 4
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
qgrid is an interactive grid for sorting and filtering DataFrames
Pandas DataFrames implement _repr_html_ methods which are utilized by IPython Notebook
Spyder is a cross-platform Qt-based open-source R IDE
None of the mentioned
Explanation:
Spyder is a cross-platform Qt-based open-source Python IDE.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
to_array. append can accept scalar values or any 2-dimensional sequence
Two kinds of SparseIndex are implemented
The integer format keeps an arrays of all of the locations where the data are not equal to the fill value
None of the mentioned
Explanation:
to_array. append can accept scalar values or any 1-dimensional sequence.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Which of the following indexing capabilities is used as a concise means of selecting data from a pandas object?
In
ix
ipy
none of the mentioned
Explanation:
ix and reindex are 100% equivalent.
Question 7
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 8
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 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following object you get after reading CSV file?
DataFrame
Character Vector
Panel
All of the mentioned
Explanation:
You get columns out of a DataFrame the same way you get elements out of a dictionary.
Question 10
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.