title: How to load and merge mutliple json files into one dataframe?
body: <p>I have got multiple json files (all of the same format with the same headers) that I would like to load and merge into one dataframe. </p>
  
  <pre><code>for f_name in glob('some_dir/*.json'):
       ww = pd.read_json(f_name, lines=True)
  </code></pre>
  
  <p>The above two lines of code load all .json files, each entry in the json file is a string and the variable ww contains multiple dataframes (when printing type(ww)). </p>
  
  <p>Afterwards I have tried to convert each entry into a dictionary using:</p>
  
  <pre><code>kk = pd.DataFrame.from_dict(dict(ww)) 
  </code></pre>
  
  <p>Then tried using pd.concat to combine them all, this is the error message I received when using pd.concat: </p>
  
  <pre><code> TypeError: first argument must be an iterable of pandas objects, you passed an object of type "DataFrame"
  </code></pre>
  
  <p>It would be great if anyone could explain how to fix this and why printing type gives me a different type to what it actually seem to be.</p>
  
  <p>Edit: 
  Each json file has multiple of inputs looking like this:</p>
  
  <pre><code> {"Name":"Anna", "Year": "1987", "Location":"Asia","Colour":"Blue"}
  </code></pre>
  
  <p>Expected Output: </p>
  
  <pre><code> Name Year Location Colour 
   Anna 1987 Asia     Blue
  </code></pre>