title: How to convert map to dataframe?
body: <p>m is a map as following:</p>
  
  <pre><code>scala&gt; m
  res119: scala.collection.mutable.Map[Any,Any] = Map(A-&gt; 0.11164610291904906, B-&gt; 0.11856755943424617, C -&gt; 0.1023171832681312)
  </code></pre>
  
  <p>I want to get:</p>
  
  <pre><code>name  score
  A  0.11164610291904906
  B  0.11856755943424617
  C  0.1023171832681312
  </code></pre>
  
  <p>How to get the final dataframe?</p>