10.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])