title: How to use math.log10 function on whole pandas dataframe
body: <p>I want to take the logarithm of every value in a pandas dataframe. I have tried this but it does not work:</p>
  
  <pre><code>#Reading data from excel and rounding values on 2 decimal places
  import math
  import pandas as pd
  
  data = pd.read_excel("DataSet.xls").round(2)
  log_data= math.log10(data)
  </code></pre>
  
  <p>It gives me this error:</p>
  
  <blockquote>
    <p>TypeError: must be real number, not DataFrame</p>
  </blockquote>
  
  <p>Do you have any idea what to do?</p>