Get rid of extra commas from excel file with python
<p>I've got a csv file and whenever i access the elements it gets me</p>

<p>aapl,2001-12-4,,,,,</p>

<p>The commas at the end is causing my functions to not work properly for my other application. How can I remove this in order to get rid of any additional commas after elements?</p>

<p>for example the above after correction would be</p>

<p>aaple,2001-12-4</p>

<p>anything will help, thanks so much.</p>

<p>m</p>
