Which of the following libraries allows to manipulate, transform and visualize data easily and efficiently.
Which of the following are modules/libraries in Python?
__________ is an important library used for analyzing data.
Important data structure of pandas is/are ___________
Which of the following command is used to import pandas?
We can imagine a Pandas Series as a ______________ in a spreadsheet.
What type of error is returned by the following statement?
import pandas as pnd
pnd.Series([1,2,3,4], index = [‘a’,’b’,’c’])
Which attribute is used to give user-defined labels in Series?
Write the statement to get NewDelhi as output using a positional index.
import pandas as pd
S1 = pd.Series([‘NewDelhi’, ‘WashingtonDC’, ‘London’, ‘Paris’],
index=[‘India’, ‘USA’, ‘UK’, ‘France’])
We can access elements in Series by using ________ index and ____________index.
Which of the following property/attribute assigns a name to the Series?
S1.values will return all the values of Series ‘S1’ in _________
Which of the following statement shows the first five values of Series ‘S1’?
Write the output of the following :
import pandas as pd
S1=pd.Series([1,2,3,4])
S2=pd.Series([7,8])
print((S1+S2).count())
Which of the following returns number of non-NaN values of Series?
Write the output of the following :
import pandas as pd
S1=pd.Series([1,2,3,4])
S2=pd.Series([7,8,9,10])
S2.index=[‘a’,’b’,’c’,’d’]
print((S1+S2).count())
Which of the following fills the missing values in Series?
Mathematical Operations on two Series object is done by matching ____________.
Which of the following statement will display values more than 40 from Series ‘S1’?
When an operation is carried out on every value of Series object is called _____.
Practice More sets Questions
Topic wise Programming Skill