
CSC50S: Advanced Data Structures : Lesson1: Pandas Library
Authored by Achala B
Computers
9th - 10th Grade
Used 34+ times

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
Which Python Library is used to manipulate the data so that it becomes readable and organised?
NumPy
Library 1
Python np
Pandas
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct statement to add Pandas library in program?
import numpy as np
import P as pandas
import pandas as pd
import pandas
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is DataFrame?
A data structure from Pandas library
A frame in which data is kept
A frame of windows
A data structure from Numpy Library
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following commands is used to convert array named "grades" into data frame named "df_grades"?
df_grades = grades
df_grades = pd.DataFrame(grades)
df_grades = pd.DataFrame("grades")
grades = pd.DataFrame(df_grades)
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following commands can be used to print data frame df_grades?
Print("df_grades")
print("df_grades")
print(df_grades)
display(df_grades)
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statements will give header to columns for df_grdaes DataFrame?
df_grades.column
df_grades.columns
df_grades_columns
df_grades.columnnames
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the following statement do?
df_grades.index = ["Amna"]
It will add name amna in dataframe
It will add grades for Amna
It will add Amna as a new row header for index 0
It will delete Amna from data frame
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
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
15 questions
Informatika 9
Quiz
•
9th Grade
16 questions
Input Device
Quiz
•
9th - 10th Grade
10 questions
python
Quiz
•
10th Grade
16 questions
Conditions
Quiz
•
8th - 10th Grade
10 questions
Grade9-Sensors
Quiz
•
9th Grade
14 questions
KONSEP ASAS PEMIKIRAN KOMPUTASIONAL
Quiz
•
9th Grade
10 questions
Information processing cycle
Quiz
•
10th Grade
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade