title: AttributeError: 'str' object has no attribute 'map'
body: <p>I am new to python. I want to extract the elements of array 'Address' from below json. I am trying to use map to split the elements using</p>
  
  <pre><code>r=&lt;below json&gt;
  s=r["Customer"]
  y=s.map(lambda x:x.split(",")) 
  </code></pre>
  
  <p>But I am getting the error as .....AttributeError: 'str' object has no attribute 'map'</p>
  
  <p>Can you please advise which is the best way to do this.</p>
  
  <pre><code>{ "id": "981",
    "Customer": 
  [
    {
      "Name": "abc",
      "Title": "Mr",
      "Gender": "M",
      "Address": [
        {
      "Postcode": "2GF",
      "StreetName": "Black Street",
      "FlatNo": "123",
        }
      ]
    },
    {
      "Name": "xyz",
      "Title": "Mrs",
      "Gender": "F",
      "Address": [
        {
      "Postcode": "2CX",
      "StreetName": "White Street",
      "FlatNo": "123",
        }
      ]
    }
  ]
  }
  </code></pre>