wesm/pandas — pull request #206 by takluyver (2011-10-08 23:00:37+00:00)
Title: Use stdlib csv module to write csv

I noticed while using pandas that data with commas in the fields wasn't getting escaped properly when written to CSV (data in biology often has bits of text as well as numbers). This causes the data to spread out over extra columns. This commit uses the `csv` module from the standard library to write out CSV 'properly'.

I've also added a simple test for this case.