text_html_output_1.png
from sklearn.preprocessing import LabelEncoder

import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

train = pd.read_csv('../input/factors-affecting-campus-placement/Placement_Data_Full_Class.csv')

train.shape

corrMatrix = train.corr()

number = LabelEncoder()
train['status'] = number.fit_transform(train['status'].astype('str'))

number = LabelEncoder()
train['gender'] = number.fit_transform(train['gender'].astype('str'))
train.head()