title: Using Dictionaries with numba njit function
body: <p>How to speed up a funtion with numba when input and return are dictionaries?</p>
  
  <p>I'm familiar with using numba for functions that accept numbers and return arrays, like this:</p>
  
  <pre><code>@numba.jit('float64[:](int32,int32)',nopython=True)
  def f(a, b):
      # returns array 1d array
  </code></pre>
  
  <p>Now I have a function that accepts and returns dictionaries. How can I apply numba here?</p>
  
  <pre><code>    def collocation(aeolus_data,val_data):
  
        ...
  
        return sample_aeolus, sample_valdata
  </code></pre>