CSC50S: Advanced Data Structures : Lesson1: Pandas Library

CSC50S: Advanced Data Structures : Lesson1: Pandas Library

9th - 10th Grade

11 Qs

quiz-placeholder

Similar activities

Dataframe

Dataframe

10th - 12th Grade

12 Qs

Arrays & Data frames

Arrays & Data frames

9th Grade

10 Qs

แบบทดสอบหลังเรียนบทที่ 2 สร้างสรรค์ผลงานด้วยภาษาไพทอน

แบบทดสอบหลังเรียนบทที่ 2 สร้างสรรค์ผลงานด้วยภาษาไพทอน

9th Grade

10 Qs

Pandas library

Pandas library

9th Grade

10 Qs

โมดูล pandas และการอ่านไฟล์ CSV

โมดูล pandas และการอ่านไฟล์ CSV

9th Grade

10 Qs

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

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

9th - 12th Grade

7 Qs

Grade9_Revision

Grade9_Revision

10th Grade

10 Qs

Python DataFrames

Python DataFrames

10th Grade

10 Qs

CSC50S: Advanced Data Structures : Lesson1: Pandas Library

CSC50S: Advanced Data Structures : Lesson1: Pandas Library

Assessment

Quiz

Computers

9th - 10th Grade

Medium

Created by

Achala B

Used 34+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?