Mashdemy 11-15 AI/ML

Mashdemy 11-15 AI/ML

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Numpy Revision Test

Numpy Revision Test

10th Grade

8 Qs

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

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

9th Grade

11 Qs

Analisis Data Deforestasi (PLB)

Analisis Data Deforestasi (PLB)

11th Grade

10 Qs

Python Pandas/MatPlotLib

Python Pandas/MatPlotLib

12th Grade

9 Qs

Python CSV and Pandas

Python CSV and Pandas

12th Grade

15 Qs

python advance

python advance

10th Grade

13 Qs

python

python

10th Grade

10 Qs

Reshaping & vStack&hstack( )

Reshaping & vStack&hstack( )

9th Grade - University

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?