From c6db171a95082a9e1dfd44ff7a7c069f6e08ceda Mon Sep 17 00:00:00 2001 From: phofl Date: Fri, 17 Dec 2021 11:30:55 +0100 Subject: [PATCH] ASV: Add additional to_csv benchmark --- asv_bench/benchmarks/io/csv.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/asv_bench/benchmarks/io/csv.py b/asv_bench/benchmarks/io/csv.py index 016bcde8a0b65..dd11ece7b74ad 100644 --- a/asv_bench/benchmarks/io/csv.py +++ b/asv_bench/benchmarks/io/csv.py @@ -78,6 +78,9 @@ def setup(self): def time_frame_date_formatting_index(self): self.data.to_csv(self.fname, date_format="%Y-%m-%d %H:%M:%S") + def time_frame_date_no_format_index(self): + self.data.to_csv(self.fname) + class ToCSVDatetimeBig(BaseIO):