
Python Quiz- 1.9
Authored by Rahul Mahato
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Not a function of Dataframe?
Head()
Tail()
loc()
multi()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following can be used to make a Dataframe?
Series
DataFrame
Structured ndarray
All of the above
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Type the syntax that returns the top 5 rows in DataFrame df with the native Pandas function (not slicing):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Among the following functions, which one can be used to combine dataframes when they have similar structure.
combine_first
merge()
concat()
All of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the concat(), if the axis=1, it will join the dataframes ...............
vertically
horizontally
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the functions can be used to delete column/row from a DataFrame?
pop()
drop()
at()
iloc()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To create an empty Series object, you can use?
pd.Series( )
pd.Series(np.NaN)
pd.Series(empty)
All of these
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?