round a column in dataframe : <p>I have a dataframe 'dayData' and I am trying to round a zero decimal places one of the columns (the column is called 'trace')</p>

<p>I have tried using the following but with no success:</p>

<pre><code>dayData["trace"] = dayData["trace"].round(0)
</code></pre>

<p>I get the exception:</p>

<pre><code>AttributeError: 'numpy.float64' object has no attribute 'rint'
</code></pre>

<p>Could someone let me know the correct syntax please.</p>

<p>Many thanks</p>
