
Pandas Basics
Flashcard
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Omar Choudhry
Used 1+ times
FREE Resource
Student preview

16 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the main pandas data structure?
Back
pandas.core.frame.DataFrame
2.
FLASHCARD QUESTION
Front
What function is used to read a CSV file in pandas?
Back
pd.read_csv('csv_name.csv', index_col=0)
3.
FLASHCARD QUESTION
Front
Why set index_col=0 in pd.read_csv?
Back
To remove the index column altogether, as pandas sets it to 1 by default.
4.
FLASHCARD QUESTION
Front
What does index_col=1 represent in pd.read_csv?
Back
Whatever the first column's data is (ex. could be company name, advisor name, etc...).
5.
FLASHCARD QUESTION
Front
How do you import the numpy or pandas modules?
Back
Import pandas as pd
import numpy as np
6.
FLASHCARD QUESTION
Front
How do you check the first few rows of a DataFrame in pandas?
Back
Use the df.head() function.
ex. f500.head()
You can enter in an argument into head to signify how many rows you want to view so f500.head(10) will display the first 10 rows.
By default it's set to 5
7.
FLASHCARD QUESTION
Front
What method is used to remove missing values in a DataFrame?
Back
Use the df.dropna() method.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
14 questions
Phishing and Malware Prevention Flashcard
Flashcard
•
KG - University
10 questions
Understanding Assessments in Education
Flashcard
•
University
10 questions
OSCM 306 Ch 7 Flashcard
Flashcard
•
University
15 questions
Economics: CBA
Flashcard
•
University
10 questions
Primary Storage Concepts
Flashcard
•
KG
12 questions
Quiz- 1
Flashcard
•
University
10 questions
Quizizz Educational Activities Overview
Flashcard
•
KG - University
8 questions
VOCAB
Flashcard
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development