text_html_output_1.png
import csv

import numpy as np # linear algebra

path = '/kaggle/input/pima-indians-diabetes-database/diabetes.csv'
raw = open(path, 'rt', encoding='utf8')
reader = csv.reader(raw, delimiter=',')
header = next(reader)
print(header)
data = list(reader)
data = np.array(data).astype('float')
print(data[0])
print(data.shape)