title: The right way to round pandas.DataFrame?
body: <p>I want round <code>pandas.DataFrame</code>.</p>
  
  <p>Here is what i have tried so far:</p>
  
  <pre><code>import pandas as pd
  data = pd.DataFrame([1.4,2.5,3.8,4.4,5.6],[6.2,7.6,8.8,9.1,0])
  print(round(data))
  </code></pre>
  
  <p>But when i run this code, i get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\*****\Documents\*****\******\****.py", line 3, in &lt;module&gt;
      print(round(data))
  TypeError: type DataFrame doesn't define __round__ method
  </code></pre>
  
  <p><strong>What is the right way to round <code>pandas.DataFrame</code> ?</strong></p>