title: How do I multiply a dataframe column by a float constant?
body: <p>I'm trying to multiply a column by a float. I have the code for it here: </p>
  
  <pre><code>if str(cMachineName)==str("K42"):
          df_temp.loc[:, "P"] *= float((105.0* 59.0*math.pi*0.95/1000)/3540)
  </code></pre>
  
  <p>But it gives me this error: </p>
  
  <pre><code>TypeError: can't multiply sequence by non-int of type 'float'. 
  </code></pre>
  
  <p>How do I solve it?</p>