Changed method to write DataFrame to CSV file

2 jobs for enhancement/faster_csv in 2 minutes and 2 seconds