I have a CSV-File, which contains 3 columns:
temp;val1;val2
350;0.1;1
350.1;0.11;1.1
350.5;0.13;1.23
350.6;0.15;1.36
351.1.1;0.18;1.58
352.2.5;0.22;1.79
...
I would like to create an heat map out of this 3 columns. 'Temp' should be on the x-axis and 'val1' on the y-axis. The value for the color should be 'val2'. But I have troubles creating the correct data format for the third column... Has anyone an idea? Or is there any simplier way to accomplish this? Thanks in advance
train_csv = pandas.read_csv('./training.csv')
train = train_csv.values
x2d, y2d = np.meshgrid(train[:, 0], train[:, 1])
z2d =?
plt.pcolormesh(x2d, y2d, z2d)
plt.show()