pandas - perform string operation on all elements of a column
<p>I have a column in a pandas dataframe that is all capitals. I would like to change this to words with only the first letter capitalized.</p>

<p>I have tried the following:</p>

<pre><code>import pandas as pd
data = pd.read_csv('my_file.csv')

data['field'] = data['field'].title()
</code></pre>

<p>This returns the error:</p>

<pre><code>'Series' object has no attribute 'title'
</code></pre>

<p>Is there a simple way to perform string operations like this on a pandas column?</p>