
unit1
Authored by Ms. Deepika
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
obj = pd.Series([4, 7, -5, 3])
obj.values
array([ 4, 7, -5, 3])
([ 4, 7, -5, 3])
array(4, 7, -5, 3)
error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
obj = pd.Series([4, 7, -5, 3])
obj.index
o/p:?
RangeIndex(start=0, stop=4, step=1)
Range(start=0, stop=4, step=1)
RangeIndex(start=0, stop=4)
error
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
obj2 = pd.Series([4, 7, -5, 3], index=['d', 'b', 'a', 'c'])
obj2[obj2 > 0]
output:?
b 6
c 7
d 3
dtype: int64
d 6
b 7
c 3
dtype: int64
error
none
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Are The Different Types Of Data Structures In Pandas
Data Frame
series
panel
all of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
obj = pd.Series(range(3), index=['a', 'b', 'c'])
index = obj.index
index
o/p:
Index(['a', 'b', 'c'])
error
Index(['a', 'b', 'c'], dtype='object')
none
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
labels = pd.Index(np.arange(3))
labels
Index([0, 1, 2], dtype='int64')
Int64Index([0, 1, 2], dtype='int64')
Int64Index([0, 1, 2])
error
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is purpose of df.columns and df.iloc[:,:-5]
it displays the names of columns
it displays all columns except the last five columns
it displays all columns except the first five rows
it displays all columns except the last four rows
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?
Similar Resources on Wayground
20 questions
Microsoft Word 2013Review
Quiz
•
KG - University
18 questions
HTML,CSS,SCRIPT QUIZZ
Quiz
•
University
10 questions
Exploring Addressing Modes
Quiz
•
University
10 questions
Documentation
Quiz
•
University
10 questions
Normalization
Quiz
•
University
15 questions
Chỉnh sửa VB và tạo bảng
Quiz
•
6th Grade - University
10 questions
OPEN SOURCE TECHNOLOGY
Quiz
•
University
20 questions
PRE-TEST Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade