061. Extra Help

061. Extra Help

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Day 7

Day 7

9th - 12th Grade

5 Qs

บทที่ 2 2.1 ม.3/3

บทที่ 2 2.1 ม.3/3

9th - 12th Grade

7 Qs

File Handling

File Handling

12th Grade

10 Qs

Checkpoint 1 revision

Checkpoint 1 revision

9th - 12th Grade

9 Qs

Python Pandas/MatPlotLib

Python Pandas/MatPlotLib

12th Grade

9 Qs

Analisis Data Deforestasi (PLB)

Analisis Data Deforestasi (PLB)

11th Grade

10 Qs

A1 IIIB - Introducción a Data Science

A1 IIIB - Introducción a Data Science

11th Grade - University

10 Qs

Dataframe

Dataframe

12th Grade

10 Qs

061. Extra Help

061. Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Robert Giordano

FREE Resource

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to import the module so we can use data frames

import ______

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module do we import to find the average of a list?

math

matplotlib

random

numpy

3.

DRAG AND DROP QUESTION

1 min • 1 pt

Given the CSV file "Covid Cases.csv". Write the statement to make a data frame from the data on the CSV

import pandas as pd

file = "Covid Cases.csv"

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

pd
read_csv
file
read
pandas
read_xlsx

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to get the "Num Cases" column from the data frame and convert it into a list

import pandas as pd

file = "Covid Cases.csv"

df = pd.read_csv(file)

casesList = df["Num Cases"]._______( )

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to find the average of the values in the casesList

import numpy

import pandas as pd

file = "Covid Cases.csv"

df = pd.read_csv(file)

casesList = df["Num Cases"].to_list( )

average = _____.____(casesList)