title: Mapping dictionary with multiple key values to data frame
body: <p>I have a dictionary which has multiple key values.</p>
  <pre class="lang-py prettyprint-override"><code>d = {(0, 0, 'Shift 2 (2000 FT)'): 0.0, (0, 0, 'Shift 1 (0800 FT)'): 0.0, (0, 1, 'Shift 2 (2000 FT)'): 0.0, (0, 1, 'Shift 1 (0800 FT)'): 0.0, (0, 2, 'Shift 2 (2000 FT)'): 0.0, (0, 2, 'Shift 1 (0800 FT)'): 0.0}
  </code></pre>
  <p>I want to convert it to dataframe as follows where the first index is called 'WEEK', second called 'DAY' and the third goes to columns.</p>
  <p><img src="https://i.stack.imgur.com/zbWU2.png" alt="enter image description here" /></p>
  <p>Please advise. Thanks!</p>