title: AttributeError: 'DataFrame' object has no attribute 'Address'
body: <p>I am using Pandas to insert a title() into the Address column in my csv file so I can directly accurate my csv file without making a temp csv file but it keeps throwing out an error. Please provide your punctilious advice.</p>
  
  <pre><code>import pandas as pd
  
  df = pd.read_fwf('C:\\Users\\Admissions.csv')
  df.Address = df.Address.apply(lambda x: x.title())
  df.to_csv('C:\\Users\\Admissions.csv', index=False, sep='\t')
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Addressupdate.py", line 23, in &lt;module&gt;
      df.Address = df.Address.apply(lambda x: x.title())
    File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 2744, in __getattr__
      return object.__getattribute__(self, name)
  AttributeError: 'DataFrame' object has no attribute 'Address'
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>df = pd.read_fwf('C:\\Users\\Admissions.csv')
  df['Address'] = df['Address'].str.title()
  df.to_csv('C:\\Users\\Admissions.csv', index=False, sep='\t')
  
  File "pandas/index.pyx", line 139, in pandas.index.IndexEngine.get_loc (pandas\index.c:4160)
    File "pandas/index.pyx", line 161, in pandas.index.IndexEngine.get_loc (pandas\index.c:4024)
    File "pandas/src/hashtable_class_helper.pxi", line 732, in pandas.hashtable.PyObjectHashTable.get_item (pandas\hashtable.c:13161)
    File "pandas/src/hashtable_class_helper.pxi", line 740, in pandas.hashtable.PyObjectHashTable.get_item (pandas\hashtable.c:13115)
  KeyError: 'Address'
  </code></pre>