I have a list of dictionary which looks like.
[
{
"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"
}
]
Can somone help me with how do I extract the deviceId of a given floor like L2?
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.
Thanks.