title: Extract vale of a key for a given key value pair in a list of dict in python
body: <p>I have a list of dictionary which looks like.</p>
  
  <pre><code>[
    {
      "deviceId": "d61e",
      "floor": "L1",
      "id": "l1-topic"
    },
    {
      "deviceId": "fd00::212:4b00:1957:d197",
      "floor": "L3",
      "id": "l3-topic"
    },
    {
      "deviceId": "fd00::212:4b00:1957:d1a3",
      "floor": "L2",
      "id": "l2-topic"
    }
  ]
  </code></pre>
  
  <p>Can somone help me with how do I extract the deviceId of a given floor like L2?</p>
  
  <p>I have tried converting it into a pandas dataframe and trying to extract using some operations, is it possible to do it in a more pythonic way.</p>
  
  <p>Thanks.</p>