Mashdemy 11-15 AI/ML

Mashdemy 11-15 AI/ML

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Arrays & Data frames

Arrays & Data frames

9th Grade

10 Qs

Checkpoint 1 revision

Checkpoint 1 revision

9th - 12th Grade

9 Qs

Importance of data

Importance of data

10th Grade

10 Qs

Викторина по Pandas и Matplotlib

Викторина по Pandas и Matplotlib

9th Grade

11 Qs

A4 IIIB - EDA con Pandas

A4 IIIB - EDA con Pandas

10th Grade - University

10 Qs

July Monthly Test IP 20.07.2020

July Monthly Test IP 20.07.2020

12th Grade

15 Qs

matplotlib

matplotlib

10th Grade

10 Qs

Data Frame1

Data Frame1

12th Grade

10 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?