title: How to add column based on another column value in Pandas dataframe?
body: <p>How do I take data frame, like the following:</p>
  <pre><code>      col1    col2
  row0   abc      3
  row1   bcd     2.4
  </code></pre>
  <p>And produce a dataframe with new column which value based on col2, is number has dot in it or not, like the following:</p>
  <pre><code>      col1    col2    col3
  row0   abc      3     No dot
  row1   bcd     2.4    Has dot
  </code></pre>
  <p>Any help is appreciated.</p>