
随堂测验-数据预处理
Quiz
•
Computers
•
University
•
Medium

Jason He
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
在 Pandas 中,哪个函数用于检查缺失值?
pd.isnull()
pd.fillna()
pd.dropna()
pd.replace()
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
以下哪一个方法可以将列 'age' 的缺失值替换为该列的平均值?
df['age'].dropna()
df['age'].replace(df['age'].mean())
df['age'].fillna(df['age'].mean())
df.fillna('age', df['age'].mean())
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
使用 dropna() 方法默认删除:
所有为0的值
所有重复值
所有含有缺失值的行
4.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
哪一个方法可以重新设置 DataFrame 的行索引?
df.set_index()
df.reset_index()
df.rename_index()
df.sort_index()
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
关于异常值的说法,下列选项中描述错误的是()。
异常值是指样本中明显偏离其余观测值的个别值
可以使用3σ原则检测异常
可以使用Pandas中的箱线图检测异常值
异常值可以使用其它的值来替换
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
以下哪些方法可用于处理缺失数据?
fillna()
dropna()
isnull()
忽略缺失数据sort_values()
7.
MULTIPLE SELECT QUESTION
30 sec • 10 pts
使用 Pandas 进行数据清洗时,可以做哪些操作?
删除重复值
重命名列名
数据类型转换
画图
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
19 questions
Computer Security Measures
Quiz
•
12th Grade - University
10 questions
Modern Warships
Quiz
•
KG - Professional Dev...
10 questions
Graficas Parte 2
Quiz
•
University
12 questions
Ingram Micro Annual Dinner 2023
Quiz
•
University
10 questions
113逢甲資電系茶會Quizizz
Quiz
•
University
10 questions
電資營2023
Quiz
•
University
20 questions
Sjmit-Q2-[Workshop-MAR-25]
Quiz
•
12th Grade - University
10 questions
簡報診療室Ⅱ-個人競賽大考驗
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University