Question: mport pandas as pd df = pd . read _ csv ( / content / drive / MyDrive / COMM 3 2 4 /

mport pandas as pd
df = pd.read_csv("/content/drive/MyDrive/COMM 324/PS_1.csv")
percentile_25= df['salary'].quantile(0.25)
if percentile_25<45000:
print("Yes, only 25% of employees are earning less than $45,000")
else:
print("No, more than 25% of employees are earning less than $45,000")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!