Search Header Logo

062. Extra Help

Authored by Robert Giordano

Computers

9th - 12th Grade

062. Extra Help
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the import statement to use a data frame

import ______

2.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the code to get the data from the "Sample Excel.xlsx" file

import pandas as pd

file = "Sample Excel.xlsx"

pd = ​ (a)   .​ (b)   (​ (c)   )

df
read_xlsx
file

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code to turn the "Names" column of "Sample Excel.xlsx" into a list

import pandas as pd

file = "Sample Excel.xlsx"

df = pd.read_xlsx(file)

colList = df["Names"]._______( )

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to remove blank rows from the data frame

import pandas as pd

file = "Sample Excel.xlsx"

df = pd.read_xlsx(file)

df = ______(in place = True)

5.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the code to replace all blank rows with "Joe"

import pandas as pd

file = "Sample Excel.xlsx"

df = pd.read_xlsx(file)

df.​ (a)   (​ (b)   , inplace = True)

fillna
"Joe"
fill_blank
Jow
Joe
fill

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?