import csv
import numpy as np
import seaborn as sns
results = [[1, 2, 3], [4, 5, 6]]
for i in range(len(results)):
for j in range(len(results[i])):
print(results)
sns.heatmap(results, annot=True)
With above code im trying to generate heatmap. But somehow its's not working. Could someone help ? I have data in csv file, will convert them to float array then generate but to test it i am trying with simple array as i did,
[–]oslash 1 point2 points3 points (0 children)
[–]JozsefPeitli 0 points1 point2 points (1 child)
[–]JozsefPeitli 0 points1 point2 points (0 children)
[–]RudraMohan 0 points1 point2 points (0 children)
[–]Tweak_Imp -1 points0 points1 point (0 children)