QST: to_csv slow in python 3 compared to python 2
Same as stackoverflow question:
https://stackoverflow.com/questions/48867875/slow-csv-writing-with-python3-compared-to-python2-with-pandas-to-csv

I found that pandas to_csv is much slower in my python 3 venv compared to python 2. I did a test to write a 7MB to c drive 1000 times and measure the average time used. I found that python 2 venv only use half of the time compared to python 3.

Versions:
python 2: 2.7.9
pandas: 0.19.2
python 3: 3.6.8
pandas: 0.25.1

Does this performance difference between python 2 and 3 expected?


[py3_8_profile.txt](https://github.com/pandas-dev/pandas/files/6486534/py3_8_profile.txt)
[py3_6_profile.txt](https://github.com/pandas-dev/pandas/files/6486536/py3_6_profile.txt)
[py2_7_profile.txt](https://github.com/pandas-dev/pandas/files/6486540/py2_7_profile.txt)
