Skip to content

Changed method to write DataFrame to CSV file

Cecilia Nievas requested to merge enhancement/faster_csv into main

Now using pandas.DataFrame.to_csv.

Time profiling results:

  • cProfile: the old method takes 12.5 times the amount of time of the new method; the new method takes 8% the amount of time of the old method.
  • Datetime: the old method takes 9.8 times the amount of time of the new method; the new method takes 10% the amount of time of the old method.

Merge request reports