from matplotlib import pyplot from pandas import read_csv import numpy path " :\pima-indians-diabetes csvnames ['preg''plas''pres''skin''test''mass''pedi''age''class'data read_csv(pathnames=namescorrelations data corr(fig pyplot figure(ax fig add_subplot( cax ax matshow(correlationsvmin=- vmax= fig colorbar(caxticks numpy arange( , , ax set_xticks(ticksax set_yticks(ticksax set_xticklabels(namesax set_yticklabels(namespyplot show(output