
Batch -1 |28-11-24 | Day -4 Data Analytics Workshop Quiz

Quiz
•
Other
•
University
•
Medium

Gnaneshwar Reddy
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
import pandas as pd
data = pd.read_csv("students.csv")
print(data.head(2))
a) First row of the CSV file
b) First two rows of the CSV file
c) All rows of the CSV file
d) Last two rows of the CSV file
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method in pandas is used to save a DataFrame to a CSV file?
a) save_csv()
b) write_csv()
c) to_csv()
d) export_csv()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you remove a column in a pandas DataFrame?
a) df.drop(column_name, axis=0)
b) df.delete(column_name)
c) df.drop(column_name, axis=1)
d) df.remove(column_name, axis=1)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Matplotlib, which function is used to create a bar plot?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Matplotlib, which function is used to create a line plot?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
x = 10
y = 5
print(x + y)
a) 10
b) 5
c) 15
d) 50
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python module is used to work with CSV files?
a) json
b) csv
c) xml
d) file
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
PLACEMENT TEST DATA LITERATURE

Quiz
•
University
10 questions
Spreadsheets

Quiz
•
KG - University
15 questions
Kuiz Microsoft Power Point

Quiz
•
KG - University
9 questions
R studio en estadistica

Quiz
•
University
10 questions
DME

Quiz
•
University
14 questions
SQL - DEBUTANT

Quiz
•
University
10 questions
Fundamentos de SIG

Quiz
•
University
10 questions
WORD

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Other
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University