aiml fast track day2

aiml fast track day2

University

5 Qs

quiz-placeholder

Similar activities

Lab 11

Lab 11

University

5 Qs

Olivier Messiaen

Olivier Messiaen

10th Grade - Professional Development

7 Qs

AutoCAD

AutoCAD

University

10 Qs

Simple Easy Basic Lua Quiz

Simple Easy Basic Lua Quiz

4th Grade - Professional Development

10 Qs

ICHEME - Excel Workshop

ICHEME - Excel Workshop

University

10 Qs

Visualización y control de procesos

Visualización y control de procesos

University

10 Qs

C-Lab10

C-Lab10

University

10 Qs

Arrays - 2D

Arrays - 2D

University

10 Qs

aiml fast track day2

aiml fast track day2

Assessment

Quiz

Professional Development

University

Medium

Created by

Nithin G

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct syntax to print the number 8 from the array below:

arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])

print(arr[1, 2])

print(arr[7, 2])

print(arr[3, 0])

print(arr[7, 0])

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to create an array of type float?


arr = np.array([1, 2, 3, 4], dtype='f')

arr = np.float([1, 2, 3, 4])

arr = np.array([1, 2, 3, 4]).toFloat()

arr = np.array.float([1, 2, 3, 4])

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to add the labels "x", "y", and "z" to a Pandas Series?

pd.Series(mylist, labels = ["x", "y", "z"])

pd.Series(mylist, names = ["x", "y", "z"])

pd.Series(mylist, index = ["x", "y", "z"])

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct Pandas function for loading CSV files into a DataFrame?

read_file()

ReadFile()

read_csv()

ReadCSV()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the Pandas head() method, how many rows are returned by default, if you do not specify it?

10

5

0

1