
Câu hỏi về Dataframe trong Python
Authored by Minh Ánh Nguyễn
Others
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
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à 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:
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))
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?