Search Header Logo

pandas & NumPy

Authored by Abdelaziz Nabil

Computers, Other, Fun

2nd Grade

Used 3+ times

pandas & NumPy
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How to use numpy ?

import numpy as np

import pandas as pd

import pyplot as plt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

np.arange(2,8,1) ----> what output will be produced?

2,3,4,5,6,7,8

2,3,4,5,6,7,8,9

2,3,4,5,6,7

2,4,6,8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

names = np.array(["Reem" , "Salah" , "Haya" , "Maryam" , "Fatema"])

print(names([2,3,4]))

Mark the right output from the below options

[ 'Haya' 'Maryam' 'Fatema' ]

[ 'Maryam' 'Haya' 'Fatema' ]

[ 'Reem' 'Salah' 'Fatema' ]

[ 'Reem' 'Salah' 'Haya' ]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

to read csv file

pd.read_CSV("file.csv")

pd.to_csv("file.csv")

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following arrays is a two dimensional (2-D) array?

[1, 2, 3, 4, 5]

[[1, 2, 3], [4, 5, 6]]

42

2* [1, 2, 3, 4, 5]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

are Numpy arrays more effiecient than python lists

Yes

No

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

how do you use numpy

import Numpy as np

import num℘y as nℙ

import numpy

import numpy as np

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?