title: Converting a 3D List to a 3D NumPy array
body: <p>Currently, I have a 3D Python list in jagged array format.<br>
  <code>A = [[[0, 0, 0], [0, 0, 0], [0, 0, 0]], [[0], [0], [0]]]</code></p>
  
  <p>Is there any way I could convert this list to a NumPy array, in order to use certain NumPy array operators such as adding a number to each element.<br>
  <code>A + 4</code> would give <code>[[[4, 4, 4], [4, 4, 4], [4, 4, 4]], [[4], [4], [4]]]</code>.</p>
  
  <p>Assigning <code>B = numpy.array(A)</code> then attempting to <code>B + 4</code> throws a type error.<br>
  <code>TypeError: can only concatenate list (not "float") to list</code></p>
  
  <p>Is a conversion from a jagged Python list to a NumPy array possible while retaining the structure (I will need to convert it back later) or is looping through the array and adding the required the better solution in this case?</p>