23. 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([2,4,5,10,18,20,25])) print(s) res=s.quantile(q=0.75) print() print('75th Percentile of the series is::') print(res) print() print('The elements that above the 75th percentile:') print(s[s>res]) Output :-
All computer course for class 9th to 12th with proper practical and theory .........