title: Python Pandas, convert iloc slice to float
body: <p>I use </p>
  
  <pre><code>Report.iloc[:,6:] = Report.iloc[:,6:].astype(float)
  </code></pre>
  
  <p>to convert those columns to float.
  The problem is, that it doesn´t change Report when used in my code file. But when I use it in the Console it works.</p>
  
  <pre><code>Report.iloc[:,6:] = Report.iloc[:,6:].astype(float)
  Report.info()
  </code></pre>