Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

QMB3302 EXAM 1 -LATEST update- QUESTIONS AND ANSWERS 100- CORRECT

Rating
-
Sold
-
Pages
31
Grade
A+
Uploaded on
19-02-2026
Written in
2025/2026

QMB3302 EXAM 1 -LATEST update- QUESTIONS AND ANSWERS 100- CORRECT

Institution
QMB3302
Course
QMB3302

Content preview

QMB3302 EXAM 1 {LATEST 2026 -2027
update} QUESTIONS AND ANSWERS 100%
CORRECT



What is the mean of the column "A" in this dataframe generated below? (choose the


closest value)(you may need to import additional packages to run the below code!)




Import numpy as np


Rng = np.random.default_rng(768561456987365)


#create a dataframe using those random values!Df =


pd.dataframe(rng.integers(0,100,size=(15, 4)), columns=list('ABCD')) - correct answer


58.13




First create a simple dataframe using the below code.import pandas as pd# create a


list of lists data = [['A1', 2, 4, 8], ['A2', 3, 7, 17], ['A3', 1, None, 7], ['A4', 989, 186, 3698], ['A5',

,0, 0 ,None]]# Create the pandas dataframe df= pd.dataframe(data, columns=['ID', 'Value


1', 'Value 2','Value 3'])


Df




If you ran:


Df = df.dropna()


Df




How many rows would remain in the dataframe? - correct answer 3




What package have we been using to import our data, and what is the abbreviation


(as..) We have been using?

,This would look something like the below in a line of code. Note I am not asking what


would work... But rather what has been demonstrated in the class notebooks. - correct


answer import "pandas" as "pd"




Assume we have all packages in place we need. Assume all spaces etc are correct.


Canvas sometimes shows strange gaps etc. Let's download the "homes.csv" file


located in the Canvas file folder under the data tab.




What code do we need to import that dataframe? Use the code we have been using


from the notebooks. There are many ways to do this, but the demonstrated approach is


the most popular convention. So make sure you type that in. Assume the data file is in


the same folder and location as your code. In other words you do not need to create a


relative path or any path for that matter. You just need the name of the file. We will not


use a path variable. Just the name of the file.

, Note that in week 3 we did this with the "segments.csv" dataset, so you could refer to


that as an example. - correct answer homes = pd.read_csv("homes.csv")




Import the homes dataset mentioned in the quiz intro. It is in Canvas called


"homes.csv". Let's explore a little bit.




Match following operators with their respective definition: (Greater than or equal to,


less than, not equal to, greater than, equal to, less than or equal to) - correct answer


greater than or equal to ( >= )




Less than ( < )




Not equal to ( != )




Greater than ( > )

Written for

Institution
QMB3302
Course
QMB3302

Document information

Uploaded on
February 19, 2026
Number of pages
31
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$20.38
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
Academicsfocus

Get to know the seller

Seller avatar
Academicsfocus Cambridge University
Follow You need to be logged in order to follow users or courses
Sold
5
Member since
6 months
Number of followers
0
Documents
420
Last sold
2 weeks ago
ACADEMIC_FOCUS

we specialize in high-quality study guides, test banks, certification prep, and real-world exam material all tailored to help you pass fast and score high. Always leave a review after purchasing any document so as to make sure our customers are 100% satisfied.

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions