title: How to verify whether string value is in correct range in Data Frame in Python Pandas?
body: <p>I have DataFrame in Python pandas like below (&quot;col1&quot; is data type string):</p>
  <pre><code>col1
  -------
  14212614414
  05261265140
  82044114467
  ...
  </code></pre>
  <ul>
  <li>Fifth and sixth values mean day of born.</li>
  </ul>
  <p>How to check whether day are from the correct range, so fifth and sixth values should be from range 1 to 31.</p>
  <pre><code>col1        | col2
  ------------|-------
  14212614414 | True
  05261265140 | True
  82044114467 | False
  ...
  </code></pre>
  <p>How can Ido that in Python Pandas?</p>