Search Header Logo

PANDAS

Authored by yesmine riahi

Computers

1st Grade

Used 1+ times

PANDAS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A two-dimensional data with mutable size that allows you to store and manipulate tabular data in rows of observations and columns of variables In pandas

Series

DataFrame

Dictionary

List

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

  1. .............: A one-dimensional array that can store data of any type. Its values are mutable but the size cannot be changed.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

to create a Series From a list l we use the method :

pd.Series(l)

pd.create_series(l)

pd.Get_series (l )

pd.DataFrame(l)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

we can create the dataframe df from the dictioanry D using the method :

df = pd.create_DataFrame(D)

df = pd.DataFrame(D)

df pd.Make_DataFrame(D)

df = pd.DF(D)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

To select the second line of this dataframe df we use :

df[: , 2]

df[2 , : ]

df[ 1 , :]

df[ : , 1]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To export DataFrames into CSV, which keyword do we use?

into_csv()

to_csv()

export_csv()

read_csv()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can use the ............... function if we want to replace the index using one or more existing columns.

pd.Index()

df.set_index()

df.Index()

pd.Set_index()

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?