Search Header Logo

NumPy

Authored by Thomas Martinez

Computers

Professional Development

NumPy
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is contained in NumPy library?

n-Dimentional Array Object

Tools for integrating C/C++ and Fortran code

Fourier Transform

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements find the maximum number in a NumPy array 'arr'?

max(arr)

arr.max()

arr(max)

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Pandas function from the following can be used to read dataset from a large text file?

read_json

read_pickle

read_hdf

read_csv

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an invalid writer function in Pandas?

to_clipboard

to_text

to_stata

to_msgpack

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given a NumPy array 'items' how would you access the data item at the 5th column, 2nd row?

items[2, 5]

items(1,4)

items[1, 4]

items[4, 1]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax of the reshape() method for a NumPy array?

array.reshape(shape)

reshape(shape, array)

reshape(array, shape)

reshape(shape)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions need a dictionary of array-like sequences or a dictionary of another dictionary, to return a DataFrame?

DataFrame.from_items

DataFrame.from_records

DataFrame.from_dict

All of the above

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?