 <p>not sure url is str or other types</p> <p>you can do like this:</p> <pre><code>"https" in str(df.url[len(df)-1]) </code></pre> <p>or </p> <pre><code>str(df.ix[len(df)-1].url).__contains__("https") </code></pre>