 <p>You can make the changes inplace directly on your dataframe:</p> <blockquote> <p><code>df["vals"].apply(lambda x: x.upper())</code></p> </blockquote> <p>Here <code>.upper()</code> will work whether your elements are of type <code>str</code> or <code>unicode</code>.</p>