Mashdemy 11-15 AI/ML

Mashdemy 11-15 AI/ML

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Matplotlib

Matplotlib

10th Grade

10 Qs

Dataframe

Dataframe

12th Grade

12 Qs

Пајтон Табеле 2/8

Пајтон Табеле 2/8

10th Grade

12 Qs

Data Visualization

Data Visualization

12th Grade

6 Qs

Data Science 2

Data Science 2

12th Grade

10 Qs

Pandas- CSV file

Pandas- CSV file

12th Grade

12 Qs

Python: matlpotlib Online Quiz

Python: matlpotlib Online Quiz

9th - 10th Grade

10 Qs

Pandas Quiz

Pandas Quiz

9th Grade

8 Qs

Mashdemy 11-15 AI/ML

Mashdemy 11-15 AI/ML

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Mashdemy Tutor

Used 7+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods is used to concatenate two DataFrames in Pandas?

 pd.append()

 pd.concat()

 pd.merge()

pd.join()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pandas method can be used to find the unique values in a DataFrame column?

  • A).unique_values()

  • B) .distinct()

  • C).unique()

  • D) .nunique()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of plot would you use to visualize the distribution of a dataset?

Bar Graph

Histogram

Scatter Plot

Pie Chart

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Matplotlib function is used to create a line plot?

plt.line()

plt.plot()

plt.lineplot()

plt.plotline()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the value_counts() method in pandas?

  • A) The count of non-null values in a DataFrame column.

  • B) The sum of all values in a DataFrame column.

  • C) The frequency of each distinct value in a DataFrame column.

  • D) The average of all values in a DataFrame column.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you select rows in a DataFrame where the values in the 'Study_Hours' column are greater than 3?

  • A) df[df['Study_Hours'] < 3]

  • B) df[df['Study_Hours'] > 3]

  • C) df.loc[df['Study_Hours'] > 3]

  • D) Both B and C

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What parameter is used in plt.plot() to set the marker type?

  • A) markerstyle

  • B) markertype

  • C) marker

  • D) mark

  • Answer: C) marker

  • A) markerstyle

  • B) marker

  • C) markertype

  • D) mark

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?