Search Header Logo

Pandas Quiz

Authored by aris santoso

Computers

12th Grade

Used 2+ times

Pandas Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to return the entire DataFrame

df.to_string()

df.dump()

df.Full()

df.print_full()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to create a Pandas DataFrame?

pd.DataFrame(data)

pd.dataframe(data)

pd.df(data)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct Pandas function for loading JSON files into a DataFrame?

read_json()

ReadFile()

read_file()

ReadJSON()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct method to remove duplicates from a Pandas DataFrame?

df.drop_duplicates()

df.delete_duplicates()

df.remove_duplicates()

df.duplicates()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct Pandas function for loading CSV files into a DataFrame?

read_csv()

read_file()

ReadFile()

ReadCSV()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to create a Pandas Series from a Python list?

pd.Series(mylist)

pd.createSeries(mylist)

pd.getSeries(mylist)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or false: by default, the Pandas dropna() method returns a new DataFrame, and will not change the original.

True

False

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?