
TIU Quiz-14
Authored by Rahul Mahato
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to import the pandas library?
import pandas as pd
import pd
import numpy as pd
import panda
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure does pandas primarily use for one-dimensional labeled data?
DataFrame
Series
Panel
Array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a pandas Series from a list [1, 2, 3, 4]?
pd.DataFrame([1, 2, 3, 4])
pd.Series([1, 2, 3, 4])
pd.Series(1, 2, 3, 4)
pd.Series({1, 2, 3, 4})
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How you will create a Series from scalar?
pd.Series(5, index = [0, 1, 2, 3, 4])
pd.Series(5, index = [0,5])
Series(5, index = [(0, 1, 2, 3, 4))
pd.Series(5, index = (0, 1, 2, 3, 4))
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check if all elements in a Series s are unique?
s.unique()
s.is_unique()
s.all_unique()
s.check_unique()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to concatenate multiple Series into a single Series?
pd.concat_series()
pd.series_concat()
pd.concat()
pd.append_series()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the method s.idxmin() return for a Series s?
Index of the minimum value in s
Minimum value in s
Count of occurrences of the minimum value in s
Sum of values in s
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?