title: Why does it add .0 to the value while converting Dataframe columns to JSON
body: <p>I have the following DataFrame:
  df :</p>
  <pre><code>A   B   C   D
  2   6   5   8.0
  6   11  2   3.6 
  1   5   7   5.2
  </code></pre>
  <p>to convert to JSON , I write following snippet:</p>
  <pre><code>df['total'] = df.apply(lambda i: i.to_json(), axis=1)
  </code></pre>
  <p>I get following output:</p>
  <p>total</p>
  <pre><code>{&quot;A&quot;:2.0, &quot;B&quot;:6.0, &quot;C&quot;:5.0, &quot;D&quot;:8.0}
  {&quot;A&quot;:6.0, &quot;B&quot;:11.0, &quot;C&quot;:2.0, &quot;D&quot;:3.6}
  {&quot;A&quot;:1.0, &quot;B&quot;:5.0, &quot;C&quot;:7.0, &quot;D&quot;:5.2}
  </code></pre>
  <p>Why is that extra .0 is added to the result ?
  How do I remove that extra .0 ?</p>