1. Write python code to find out the biggest and smallest three items from the given Series. The series Area has been created like :-
Area = pd.Series([3759,898,9699,78965,34568, 12456, 6935, 25649, 85214, 9645,3695]

 

Solution :-

 

import pandas as pd
area = pd.Series([3759,898,9699,78965,34568,12456,6935,25649,85214,9645,3695])
print(“Bigger three items :- \n”,area.sort_values().tail(3))
print(“Bigger three items :- \n”,area.sort_values().head(3))