Data Wrangling 01
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Kim Lim
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function would you use to create a NumPy array filled with zeros?
a) np.zeros()
b) np.empty()
c) np.ones()
d) np.array()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function would you use to read a CSV file into a DataFrame?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you display the first five rows of a DataFrame?
a) df.first
b) df.head()
c) df.tail()
d) df.sample()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you drop a column named 'Age' from a DataFrame df?
a) df.drop_column('Age')
b) df.remove('Age')
c) df.drop('Age', axis=1)
d) df.delete('Age')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to check for missing values in a DataFrame?
a) df.isna()
b) df.isnull()
c) df.check_na()
d) Both a and b
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to concatenate two DataFrames vertically?
a) pd.concat([df1, df2], axis=1)
b) pd.merge([df1, df2])
c) pd.concat([df1, df2], axis=0)
d) pd.join([df1, df2])
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function will you use to merge two DataFrames on a common column?
a) pd.concat()
b) pd.append()
c) pd.merge()
d) pd.join()
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
10 questions
Fundamentos de la IA
Quiz
•
Professional Development
12 questions
DBMS-Transactions-Revision
Quiz
•
Professional Development
15 questions
Intro to Python II Quiz
Quiz
•
Professional Development
10 questions
Linux
Quiz
•
Professional Development
10 questions
CSS, SCSS, Animation and Responsive
Quiz
•
Professional Development
10 questions
Quiz Webinar Flutter 29-04-2021
Quiz
•
Professional Development
12 questions
AppsLab_Q4
Quiz
•
1st Grade - Professio...
15 questions
Evaluación de conocimientos
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
