import pandas as pd dara=pd.read_excel('file.xlsx',sheet_name='shree') print("\n**Displaying data from dataframes**\n") print(data) print("\n**OPERATIONS ON DATAFRAMES**\n") print("\n1.View the firt few rows of the dataframes:") print("\n2.Number of rows and columns in the dataframes:",end="") print(data.shape) print("\n3.Filtered data(Age column<25):") filtered_data=data[data['Age']<25] print("\n4.Sort dataframes based on 'Age' col in ascending order:") sorted_data=data.sort_values(by='Age',ascending=True) priont(sorted_data) print("\nProgram Closed...")