text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/Admission_Predict_Ver1.1.csv')

df.describe().T

df.columns

df.columns = ['sno', 'GRE', 'TOEFL', 'university_rating', 'SOP', 'LOR', 'CGPA', 'research', 'admit_chance']

pd.isnull(df).sum()

plt.tight_layout()

df.research.value_counts()

chances = df.groupby('research')['admit_chance'].median()

df.university_rating.value_counts()

pd.DataFrame(df.groupby('university_rating')['GRE'].mean())

print('Avg. TOEFL scores based on University Ratings')
pd.DataFrame(df.groupby('university_rating')['TOEFL'].mean())