
Pandas Package

Quiz
•
Computers
•
University
•
Hard
OL SAY
FREE Resource
13 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select all possible way to import "pandas" package
import pandas
import pandas as pd
from pandas import *
load pandas
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We import a comma-separated-value file "flights.csv" using "pandas" package by
import pandas as pd
df = pd.read_csv("flights.csv")
import pandas as pd
df = pd.load_csv("flights.csv")
import pandas as pd
df = pd.import_csv("flights.csv")
import pandas as pd
df = pd.open_csv("flights.csv")
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
df.head()
df.head(5)
df.head(n=5)
df.tail(n=5)
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
df.tail(n=10)
df.tail(10)
df.head()
df.tail()
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
import pandas as pd
df = pd.read_csv("flights.csv")
We view a quick descriptive statistics of numerical features by
df.describe()
df.describe(include="number")
df.summary()
df.summary(exclude="category")
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
We select column "year" by
df[ "year" ]
df.loc[ : , "year" ]
df.iloc[ : , 0 ]
df.iloc[ : , 1 ]
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
We select the fifth row (with index "4") by
df.loc[4]
df.iloc[4, : ]
df[4, : ]
df[4]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Quiz 12

Quiz
•
University
10 questions
Data Set Creation Exercises

Quiz
•
University
11 questions
23S1 1906

Quiz
•
University
10 questions
Graficas con matlab y pandas

Quiz
•
University
12 questions
[JUMP START] Python - Pandas

Quiz
•
University
10 questions
Teste python- Unesp-Jaboticabal

Quiz
•
University
10 questions
TIU Quiz-14

Quiz
•
University
10 questions
GirlsWhoML-W1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade