title: How do I rename a column in Dataframe SQL?
body: <p>&quot;RuntimeError: Catalog Error: Can only modify view with ALTER VIEW statement&quot; When trying to rename a column while using DataFrame SQL within Deepnote</p>
  <pre><code>ALTER TABLE df RENAME COLUMN V41690973 TO cpi;
  </code></pre>
  <p>A screenshot giving some more context
  <a href="https://i.stack.imgur.com/qhmgk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qhmgk.png" alt="enter image description here" /></a></p>