title: Python: how can I identify a decimal number in a string?
body: <p>How can I identify decimal numbers in a list of strings, in order to remove them? Ideally in a single operation, something like <code>content = [x for x in content if not x.isdecimal()]</code></p>
  
  <p>(Sadly, isdecimal() and isnumeric() don't work here)</p>
  
  <p>For instance, if <code>content = ['55', 'line', '0.04', 'show', 'IR', '50.5', 'find', 'among', '0.06', 'also', 'detected', '0.05', 'ratio', 'fashion.sense', '123442b']</code> I would like the output to be <code>content = ['line', 'show', 'IR', 'find', 'among', 'also', 'detected', 'ratio', 'fashion.sense', '123442b']</code></p>