
Python Data Manipulation Quiz
Authored by Adham Elmuntser
Computers
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What library do you need to install in Python for data manipulation?
matplotlib
numpy
pandas
seaborn
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To read a CSV file into a DataFrame using Pandas, which function do you use?
pd.load_csv()
pd.read_csv()
pd.open_csv()
pd.import_csv()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method would you use to display the first five rows of a DataFrame?
df.display(5)
df.show(5)
df.head()
df.sample(5)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a line plot, which parameter can be used to customize the style of the line?
linestyle
line_style
style
line_style_type
5.
OPEN ENDED QUESTION
3 mins • 1 pt
To create a bar plot in Matplotlib, which function do you use?
Evaluate responses using AI:
OFF
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which parameter in the pie chart function is used to display percentage labels on the slices?
show_percent
autopct
display_percent
percent_label
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the plt.grid() function do in a Matplotlib plot?
It applies a grid background to the plot.
It generates a new DataFrame.
It sets the styles for the grid.
It displays the legend.
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?