PWC_Python_Day 3

PWC_Python_Day 3

Professional Development

10 Qs

quiz-placeholder

Similar activities

JMETER Final Quiz

JMETER Final Quiz

Professional Development

10 Qs

Data Analytics Quiz-TMK DPA2022

Data Analytics Quiz-TMK DPA2022

Professional Development

10 Qs

OSI Model - Data Link Layer

OSI Model - Data Link Layer

9th Grade - Professional Development

10 Qs

Python Libraries Series - Pandas

Python Libraries Series - Pandas

Professional Development

11 Qs

Data Science / AI

Data Science / AI

Professional Development

15 Qs

Basic Python, Pandas I

Basic Python, Pandas I

Professional Development

5 Qs

Foundations II. Challenge II

Foundations II. Challenge II

Professional Development

15 Qs

Network Fundamentals-Data Link Layer

Network Fundamentals-Data Link Layer

9th Grade - Professional Development

11 Qs

PWC_Python_Day 3

PWC_Python_Day 3

Assessment

Quiz

Computers

Professional Development

Hard

Created by

CloudThat Technologies

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

The most important object defined in NumPy is an N-dimensional array type called?

narray

darray

nd_array

ndarray

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Pandas deals with following data structures

Series

Series and Data Frames

Series, DataFrames and Panel

None of Above

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which is the correct Pandas syntax to read in a csv file and assign it to a DataFrame df?

df = read_csv('file.csv')

df = read('file.csv', type = 'csv')

df = pd.read_csv('file.csv')

df = with open('file.csv') as pd.DataFrame

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Give the output of the following code

import pandas as pd

dict1 = {'AR' : 100, 'VR' : 200, 'AI' : 300}

ser = pd.Series(dict1)

print(ser[1])

AR

100

VR

200

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Which of the following command is used to display only NAME and DOB from the above dataframe?

pd.DataFrame(DICT1, columns=["NAME","DOB"])

pd.DataFrame(DICT1, index=["NAME","DOB"])

pd.DataFrame(DICT1, index=["NAME":"DOB"])

pd.DataFrame(DICT1, columns=["NAME":"DOB"])

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Which of the following statements is used to check the people whose score >500?

DICT1[4]>=500

DICT1["SCORE"]>=500

DICT1["SCORE"]<=500

DICT1["SCORE">=500]

7.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

pandas is a:

Data Structure

Series

Dataframe

Library

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?