A heatmap shows every pair of columns. Often only one row of it matters: how each column relates to the one thing you want to predict, like a flat's price.
Task: write rank_against(rows, target). rows is a list of dictionaries, one per record, all with the same keys. Some columns hold text and some hold numbers. target is the name of a number column.
target, rounded to 2 decimal places.target with itself.[column, r] pairs, ordered by the size of the rounded r, ignoring its sign, largest first. So -0.9 comes before 0.8.There are no missing values, there is at least one other number column, and no number column holds the same value in every row.