title: Extract numbers from list of lists
body: <p>I have this list of lists:</p>
  <pre><code>my_list=[['word:', 'house', 'garden', '0,2%'],
   ['word:', 'house', 'garden', '0,2%'],
   ['house', 'garden', '0,2%'],
   ['house', 'garden', '0,2%'],
   ['garden', '0,2%', '0,125%'],
   ['house', '0,2%', '?????'],
   ['house', 'garden', '0,02%'],
   ['house', 'garden', '0,02%'],
   ['garden', '0,02%'],
   ['house', 'garden', '0,2%'],
   ['garden', '0,2%'],
   ['house', '0,2'],
   ['house', '0,2', '%'],
   ['house', 'garden', 'kids', '0,2%'],
   ['house', 'garden', 'kids', '0,2%'],
   ['house', '0,2%', 'boy'],
   ['house', '0,12%'],
   ['house', '4%.'],
   ['house', '4%.', '4.'],
   ['house', '0,2%”.']]
  </code></pre>
  <p>I would need to extract numbers based on words house and garden, in order to have something like:</p>
  <pre><code>{'garden': ['0,2', '0,2', '0,2', '0,2', '0,2', '0.125', '0.02', '0.02', '0.02', '0.2', '0.2', '0,2'], 'house': ['0.2', '0.2', '0.2', '0.2', '0,2', '0,02', '0,02', '0,2', '0,2', '0,2', '0,2', '0,2', ,'0,2','0,12', '4.', '4.', '4.', '0,2']}
  </code></pre>
  <p>How can I get these values?</p>
  <p>Unfortunately this code:</p>
  <pre><code>result = defaultdict(list)
  
  for l in my_list:
      k = None
      for v in l:
          if v in keywords:
              k = v
          if re.match(r'[0-9,.]+$', v): 
              num = v
      if k is not None:
          result[k].append(num)
  </code></pre>
  <p>it does not give me the expected output.</p>