text_plain_output_1.png image_output_1.png
from sklearn.preprocessing import LabelEncoder

import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

data = pd.read_csv('../input/indian-liver-patient-records/indian_liver_patient.csv')
data

from sklearn.preprocessing import LabelEncoder
le = LabelEncoder()

data = data.apply(le.fit_transform)
data