Giả sử dữ liệu df chứa dữ liệu dưới dạng Dataframe có 800 hàng và 3 cột thuộc tính.. Cho biết câu lệnh nào trong python dùng thư viện pandas có thể trả về dữ liệu như bảng sau:

Câu hỏi về Dataframe trong Python

Quiz
•
Others
•
University
•
Hard
Minh Ánh Nguyễn
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(len(df))
print(df.tail(2))
print(df.shape())
print(df.head())
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử dữ liệu df chứa dữ liệu dưới dạng Dataframe có 800 hàng và 5 cột thuộc tính. Cho biết câu lệnh nào trong python dùng thư viện pandas có thể trả về dữ liệu như bảng sau:
print(len(df))
print(df.tail(3))
print(df.shape())
print(df.head())
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử dữ liệu DL chứa dữ liệu dưới dạng Dataframe. Cho biết câu lệnh nào sẽ hiển thị thông tin chỉ gồm số hàng và số cột của DL
print (DL.describe())
print (len(DL))
print (DL.head())
print (DL.shape)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử dữ liệu DL chứa dữ liệu dưới dạng Dataframe. Cho biết câu lệnh nào sẽ hiển thị thông tin chỉ gồm số hàng của DL
print (DL.describe())
print (len(DL))
print (DL.shape)
print (DL.tail())
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử dữ liệu df chứa dữ liệu dưới dạng Dataframe có 1000 hàng và 20 cột thuộc tính. Cho biết câu lệnh nào trong python dùng thư viện pandas trả về số cột dữ liệu của df # 20
print(len(df))
print(df.tail(3))
print(df.shape())
print(len(df.columns))
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử dữ liệu df chứa dữ liệu dưới dạng Dataframe có 891 hàng và 102 cột thuộc tính. Cho biết câu lệnh nào trong python dùng thư viện pandas có thể trả về số hàng của dữ liệu như sau: # 891
print(len(df))
print(df.tail(3))
print(df.shape())
print(df.head())
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử dữ liệu df chứa dữ liệu dưới dạng Dataframe có 900 hàng và 12 cột thuộc tính. Cho biết câu lệnh nào trong python dùng thư viện pandas có thể trả về 1 cặp gồm số hàng và số sột của dữ liệu df như sau: # (900, 12)
print(len(df))
print(df.tail(1))
print(df.shape())
print(df.head(1))
Create a free account and access millions of resources
Similar Resources on Quizizz
35 questions
Gia đình - Thành viên

Quiz
•
University
40 questions
ktrq

Quiz
•
University
30 questions
日本語🇯🇵 - 第4,5課 - Ôn Lâm Triều せんせい

Quiz
•
University
30 questions
Mã đề 102

Quiz
•
University
34 questions
C2+3: Hệ thống thông tin và nghiên cứu thị trường - Môi trường Marketing

Quiz
•
University
35 questions
ôn tập tin học 2

Quiz
•
University
34 questions
b1

Quiz
•
University
36 questions
b2 full

Quiz
•
University
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Others
20 questions
Summer

Quiz
•
KG - University
19 questions
Minecraft

Quiz
•
6th Grade - Professio...
20 questions
3rd Grade Review

Quiz
•
KG - University
15 questions
Minecraft

Quiz
•
University
52 questions
Logos Trivia

Quiz
•
KG - University
7 questions
New national park celebrates Harriet Tubman's legacy

Interactive video
•
11th Grade - University
8 questions
2 Step Word Problems

Quiz
•
KG - University
20 questions
Disney characters

Quiz
•
KG - Professional Dev...