title: Combine the arrays in these datasets of a HDF5 file and finally get a 2D
body: <p>I have an <code>HDF5</code> file and it contains 500 datasets (named A000, A001, A002, A003 .... A499) and each dataset contains arrays of (200, 5400) sizes. I want to combine the arrays in these datasets and finally get a 2D array. For this, I can achieve the result by doing certain manipulations in the <code>for</code> loop, but this process takes a long time. So what I did is like this:</p>
  <pre><code>for datasets in my_list:
      dataset = f[(datasets)][:]
      
      i_data = dataset['real']
      q_data = dataset['imag']
      
      # power = 10.log(10.(I^2+Q^2)+1)
      power = np.log10(((np.add(np.square(np.abs(i_data)),np.square(np.abs(q_data ))))*10)+1)*10
  
      power = np.rot90(power)
      
      power_list.append(power)
  
      print(&quot;Dataset: &quot;, datasets)
  
  power = np.concatenate(power_list,1)
  </code></pre>
  <p>So, is there any way to doing this in shorter time like maybe without <code>for</code> loop.</p>