Skip to content

Commit

Permalink
PERF: Fix ASV CSV benchmarks (pandas-dev#60689)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshadrach authored Jan 9, 2025
1 parent 4693d1a commit 0110487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asv_bench/benchmarks/io/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def setup(self):
self.StringIO_input = StringIO(data)

def time_read_csv_index_col(self):
read_csv(self.StringIO_input, index_col="a")
read_csv(self.data(self.StringIO_input), index_col="a")


class ReadCSVDatePyarrowEngine(StringIORewind):
Expand All @@ -605,7 +605,7 @@ def setup(self):

def time_read_csv_index_col(self):
read_csv(
self.StringIO_input,
self.data(self.StringIO_input),
parse_dates=["a"],
engine="pyarrow",
dtype_backend="pyarrow",
Expand Down

0 comments on commit 0110487

Please sign in to comment.