tested wrtining csv files using pandas