All Tech at one spot
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(‘The elements that above the 75th percentile:’)
print(s[s>res])