text_plain_output_1.png
import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

data = pd.read_csv('../input/diabetes-dataset/diabetes.csv')
data

X = pd.DataFrame(data, columns=['Pregnancies', 'Glucose', 'BloodPressure', 'Skinthickness', 'Insulin', 'BMI', 'DiabetesPedigreeFunction', 'Age'])
y = data.Outcome
X

df2 = pd.DataFrame({'Pregnancies': [0], 'Glucose': [80], 'BloodPressure': [72], 'Skinthickness': [0], 'Insulin': [0], 'BMI': [23], 'DiabetesPedigreeFunction': [0.5], 'Age': [30], 'Outcome': [0]})

df2 = data.append(df2)
df2