Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1: Assuming the following array grades: import numpy as no grades = np.array([[87,96,70], [100,87,90],[94,77,90],[100,81,82]) Which of the following statements a), b) or c) is false?

Q1: Assuming the following array grades: import numpy as no grades = np.array([[87,96,70], [100,87,90],[94,77,90],[100,81,82]) Which of the following statements a), b) or c) is false?
A) the following code selects an element in grades by specifying a tulle contains the elements row and column indices in square brackets: grades [0, 1]
B) to select a single row, specify only one index in square brackets, as in grades[1]
C) To select multiple sequential rows, use slice notation as in grades [0:2] and to select multiple non-sequential rows use a list tow indices as in grades [[1,3]]
D) All of the above
Q2: which of the following statements a) b) or c) is false?
A) by default a Series has integer indexes numbered sequentially from 0
B) the following code creates a Series of student grades from a list of integers: import pandas as pd grades=pd.Series([87, 100, 94])
C) The Series argument in Part(b)s code also may be a typos, a dictionary an array another Series or a single value.
D) all of the above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

What is P{T1 Answered: 1 week ago

Answered: 1 week ago

Question

identify current issues relating to equal pay in organisations

Answered: 1 week ago