title: Create custom heatmap from pandas dataframe
body: <p>I have a dataframe with 8 rows and 6028 columns. I want to create a heatmap of the 8 rows for the first column (eventually I will create an animation so the map updates reading through each column)</p>
  
  <p>This is a snippet of the dataframe:</p>
  
  <pre><code>                       value                    
  percentage_time         0.00      0.15      0.16
  region                                          
  Anterior Distal     0.111212  0.119385  0.116270
  Anterior Proximal   0.150269  0.153613  0.168188
  Lateral Distal      0.130440  0.137157  0.136494
  Lateral Proximal    0.171977  0.182251  0.181090
  Medial Distal       0.077468  0.082064  0.082553
  Medial Proximal     0.194924  0.198803  0.199339
  Posterior Distal    0.164124  0.171221  0.166328
  Posterior Proximal  0.131310  0.145706  0.136094
  </code></pre>
  
  <p>I have used the following code but it gives me one plot with the indices stacked and all the data in the dataframe:</p>
  
  <pre><code>sns.heatmap(region_pressure_data)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/GRT1e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GRT1e.png" alt="enter image description here"></a></p>
  
  <p>When I try to use the following code to get just the first column, I get the following:</p>
  
  <pre><code>sns.heatmap(region_pressure_data.ix[:,0:1])
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WjHIu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WjHIu.png" alt="enter image description here"></a></p>
  
  <p>Ideally, I would like 1 map of 8 regions, with 2 rows (proximal and distal) and 4 columns (anterior, lateral, posterior, medial), displaying the data of one column.</p>
  
  <p>I'd appreciate any advice on progressing with this method or if there is a better way to approach the challenge.</p>
  
  <p>Thanks in advance.</p>