Search Header Logo

Câu hỏi trắc nghiệm về Matplotlib

Authored by Mr. Bang

Education

9th Grade

Used 2+ times

Câu hỏi trắc nghiệm về Matplotlib
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây được sử dụng để tạo biểu đồ đường đơn giản trong Matplotlib?

plt.bar()

plt.line()

plt.plot()

plt.scatter()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây được sử dụng để tạo một DataFrame trong Python với thư viện pandas?

pd.Series()

pd.DataFrame()

plt.DataFrame()

plt.createDataFrame()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để biểu diễn dữ liệu từ một DataFrame thành biểu đồ đường trong Matplotlib?

df.plot.bar()

df.plot.line()

df.plot()

df.line.plot()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây tạo biểu đồ cột trong Matplotlib?

plt.plot()

plt.hist()

plt.bar()

plt.pie()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tạo biểu đồ phân tán từ dữ liệu của một DataFrame, bạn dùng lệnh nào?

plt.scatter()

plt.plot.scatter()

df.scatter()

df.plot.scatter()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào được sử dụng để tạo một biểu đồ tròn trong Matplotlib?

plt.circle()

plt.pie()

plt.scatter()

plt.polar()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tùy chỉnh biểu đồ với các thành phần như tiêu đề, nhãn trục X và Y được thực hiện bằng các lệnh nào sau đây?

plt.title(), plt.xlabel(), plt.ylabel()

plt.header(), plt.xaxis(), plt.yaxis()

plt.name(), plt.xaxis(), plt.yaxis()

plt.caption(), plt.xaxis(), plt.yaxis()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?