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
34 questions
Câu hỏi về Excel

Quiz
•
University
30 questions
Mã đề 102

Quiz
•
University
35 questions
Tin 135 -> 167

Quiz
•
University
30 questions
GIS- Chương 2

Quiz
•
University
32 questions
Quiz về Google và ChatGPT

Quiz
•
University
30 questions
nhập môn khoa học 1

Quiz
•
University
38 questions
VDK_LAPTRINh

Quiz
•
University
30 questions
phương pháp phát triển phần mềm hướng đối tượng bài 5

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade