title: Delete a column from a Pandas DataFrame
body: <p>To delete a column in a DataFrame, I can successfully use:</p>
  <pre><code>del df['column_name']
  </code></pre>
  <p>But why can't I use the following?</p>
  <pre><code>del df.column_name
  </code></pre>
  <p>Since it is possible to access the column/Series as <code>df.column_name</code>, I expected this to work.</p>