Home
Courses
About
School
Notes
Questions
MCQ
Contact
Vocational Courses
Data Science
Data Science
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%
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 3
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 4
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 5
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 6
Marks :
+2
|
-2
Pass Ratio :
100%
Which of the following is a foundational exploratory visualization package for the R language in pandas ecosystem?
yhat
Seaborn
Vincent
None of the mentioned
Explanation:
It has great support for pandas data objects.
Question 7
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 8
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 9
Marks :
+2
|
-2
Pass Ratio :
100%
Which of the following is not an indexed object?
SparseSeries
SparseDataFrame
SparsePanel
None of the mentioned
Explanation:
SparseArray can be converted back to a regular ndarray by calling to_dense.
Question 10
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.
1
2
3
4
5
6
7
8
9
10
Time Left:
Submit
Score
:
Rank
:
Accuracy
:
%
Time
:
Total Question
:
Attempted
:
Correct
:
Wrong
:
User Name
Email Id
Mobile No
Submit