CSC50S: Advanced Data Structures : Lesson1: Pandas Library

CSC50S: Advanced Data Structures : Lesson1: Pandas Library

9th - 10th Grade

11 Qs

quiz-placeholder

Similar activities

Checkpoint 1 revision

Checkpoint 1 revision

9th - 12th Grade

9 Qs

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

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

9th - 12th Grade

7 Qs

การประมวลผลสารสนเทศ

การประมวลผลสารสนเทศ

9th Grade

10 Qs

Refresh your mind

Refresh your mind

10th Grade

10 Qs

Computer science grade 10

Computer science grade 10

10th Grade

7 Qs

DataFrame and array revision

DataFrame and array revision

9th Grade

8 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

TCP/IP dan Layar OSI

TCP/IP dan Layar OSI

9th - 12th Grade

15 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?