Class 12th CBSE IP
Given a Series, print all the elements that are above the 75th percentile.
Solution: –
import pandas as pd import numpy as np s=pd.Series(np.array([1,3,4,7,8,8,9])) print(s) res=s.quantile(q=0.75) print() print('75th Percentile of the series is:::') print(res) print() print('The elements that are above the 75th percentile::') print(s[s>res])
Fun & Easy to follow
Works on all devices
Your own Pace
Super Affordable
Popular Videos
UX for Teams
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer
SEO & Instagram
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer