
Day 6 and 7
Authored by Akash 1705004
Computers
Professional Development
Used 1+ 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
10 sec • 10 pts
Which method would you use to concatenate two DataFrames?
pd.merge()
pd.join()
pd.concat()
pd.append()
2.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
How can you check the first 5 rows of a DataFrame named df?
df.head()
df.first(5)
df.rows(5)
df.show(5)
3.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
How do you delete a column in a dataframe permanently?
df.drop('new_column', axis=1, inplace=True)
df.drop('new_column', axis=1)
df.drop('new_column')
df.drop('new_column', axis=1, inplace=False)
4.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Which is the correct way to select a column from a DataFrame named df?
df.select('column_name')
df['column_name']
df.column_name
Both B and C are correct.
5.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
Which method is used to replace missing values in a DataFrame df?
df.fillna(value)
df.replace_null(value)
df.set_values(value)
df.impute(value)
6.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
How can you set multiple columns as the index of a DataFrame df?
df.set_index(['col1', 'col2'])
df.index(['col1', 'col2'])
df.primary_key(['col1', 'col2'])
df.use_index(['col1', 'col2'])
7.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What is the output of df.describe() where df is a DataFrame?
A DataFrame summarizing the mean, median, and mode of each column
A DataFrame showing the first, second, and third quartiles of each column
A DataFrame providing descriptive statistics
A DataFrame listing the maximum and minimum values of each column
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
15 questions
Sec+ CH.2 Review Test
Quiz
•
Professional Development
15 questions
Latihan TIK
Quiz
•
Professional Development
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
15 questions
Computer basics for beginners
Quiz
•
Professional Development
10 questions
GUESS THAT WORD IN CYBER!
Quiz
•
Professional Development
15 questions
SIMKOM
Quiz
•
12th Grade - Professi...
10 questions
แบบทดสอบบทที่3
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L5_22-23
Lesson
•
KG - Professional Dev...
10 questions
March Quiz
Quiz
•
Professional Development
5 questions
Copy of G5_U6_L8_22-23
Lesson
•
KG - Professional Dev...
10 questions
suffixes FUL OR LESS
Quiz
•
Professional Development