title: How to convert CSV file which having both comma and space delimiter to csv with only space delimiter
body: <p>I am trying to convert the last column containing 2 values in the comma-separated form to 2 separate columns. Please see the last columns of input and output file to understand the motive.</p>
  
  <p>Below is how my <strong>input file</strong> looks like:</p>
  
  <pre><code>fILENAME sent_no    word POS lab,Slab
  File_1   sentence:1  abc NNP B,NO   
                       fhj PSP O,O    
                       bmm NNP B,NO   
                       vbn PSP O,O    
                       vbn NN  B,NO   
                       vbn NNPC B,NO  
                       .  Sym O,O 
  File_1   Sentence:2 vbb NNP B,NO    
                      bbn PSP B,NO    
                      nnm NNP O,O 
                      nnn PSP B,NO    
                      bbn NN  O,O 
                      .   Sym O,O 
  </code></pre>
  
  <p>and output the <strong>output file</strong> I expect is as below: </p>
  
  <pre><code>Filename sent_num word POS Label Slab
   File_1 sentence:1 abc NNP B     NO
                     fhj PSP O      O
                     bmm NNP B     NO
                     vbn PSP O      O
                     vbn NN B      NO
                     vbn NNPC B    NO
                     .   Sym O      O
   File_1 Sentence:2 vbb NNP B     NO
                     bbn PSP B     NO
                     nnm NNP O      O
                     nnn PSP B     NO
                     bbn NN  O      O
                     .   Sym O      O
  </code></pre>