title: How to solve TypeError: 'numpy.ndarray' object is not callable on Python
body: <p>I am working to aggregate Json file in python
  I use a list comprehension to get all the agency responsibles </p>
  
  <pre><code>import pandas as pd
  import numpy as np
  
  url = "http://311api.cityofchicago.org/open311/v2/requests.json";
  d= pd.read_json(url)     
  ar = [x.get("agency_responsible") for x in d.values()] 
  </code></pre>
  
  <p>I got this error :</p>
  
  <pre><code>Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  TypeError: 'numpy.ndarray' object is not callable
  </code></pre>
  
  <p>Then I tried to solve this by adding numpy and dealing with array.</p>
  
  <pre><code>  import numpy as np
      np.[x.get("agency_responsible") for x in d.values()]
  </code></pre>
  
  <p>But it seems that it doensn't work out ! </p>