title: How to remove multiple characters from a CSV file in Python
body: <p>I have a CSV file which contains a few columns with unwanted text which I want to remove. Could someone please help me on this?</p>
  
  <p>Sorry about any confusions, here is the input file looks like:</p>
  
  <pre><code>TIME,P0,P1,P2,P3,P4,P5,D0,D1,D2,D3,D4,D5    
  22:46:32,PS=P0:Spd=5000:Volt=1.26:SP=FFull,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600   
  22:46:33,PS=P0:Spd=5000:Volt=1.26:SP=FFull,PS=P0:Spd=5000:Volt=1.26625:SP=FFull,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600   
  22:46:34,PS=P0:Spd=5000:Volt=1.26:SP=FFull,PS=P0:Spd=5000:Volt=1.26625:SP=FFull,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600   
  22:46:35,PS=P0:Spd=5000:Volt=1.26:SP=FFull,PS=P0:Spd=5000:Volt=1.26625:SP=FFull,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=P0:Spd=4800:Volt=1.24:SP&gt;P0SP,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600,PS=M0:SPd=1600   
  </code></pre>
  
  <p>Output file:</p>
  
  <pre><code>TIME,P0,Volt0,P1,volt1,P2,volt2,P3,volt3,P4,volt4,P5,volt5,D0,D1,D2,D3,D4,D5
  22:46:32,5000,1.26,5000,1.26,4900,1.25,5000,1.26,5000,1.26,4900,1.25,1600,1600,1600,1600,1600,1600
  22:46:33,4800,1.25,4900,1.15,5000,1.26,5000,1.26,5000,1.26,4900,1.25,1600,1600,1600,1600,1600,1600
  22:46:34,5000,1.26,4900,1.25,4900,1.25,5000,1.26,5000,1.26,4900,1.25,1600,1600,1600,1600,1600,1600
  22:46:35,5000,1.26,5000,1.26,5000,1.26,5000,1.26,5000,1.26,4900,1.25,1600,1600,1600,1600,1600,1600
  </code></pre>