title: Remove comma(,) from string number in dictionary list
body: <p>I have a list of dictionary:: Sample data:: Like this I have n number of data.</p>
  
  <pre><code>datas = [{"_id":"1234as", "Total students":"123,321", "TotalPresent":"321,345"}, 
      {"_id":"1234asas","TotalStudents":"343,431","TotalPresent":"541,656"}]
  </code></pre>
  
  <p><strong>I tried</strong></p>
  
  <pre><code>for data in datas:
      for i in data.values():
          re.sub('[^A-Za-z0-9]+', '', i)
      datas.append(i)
  </code></pre>
  
  <p>I just want to remove comma(,) from TotalStudents and TotalPresent and replace the value in datas.</p>
  
  <p><strong>Edit 1</strong></p>
  
  <p>In my list of dictionary I also have value as::</p>
  
  <pre><code>datas = [{"_id":"1234as","Totalstudents":"123,321","TotalPresent":"321,345"},      
          {"_id":"1234asas","TotalStudents":"343,431","TotalPresent":"541,656"},
           {"_id":"9934 asas","TotalStudents":"NA","TotalPresent":""}]
  </code></pre>
  
  <p>Here, in key TotalStudents value is "NA" and TotalPresent is "". Is there a way to replace whereever  "NA" or "" appears replace with "0".</p>