Skip to content

Commit

Permalink
Changed the strings to make code simpler (#57973)
Browse files Browse the repository at this point in the history
  • Loading branch information
igeni authored Mar 25, 2024
1 parent 236209a commit 2750652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asv_bench/benchmarks/categoricals.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def setup(self):
)

for col in ("int", "float", "timestamp"):
self.df[col + "_as_str"] = self.df[col].astype(str)
self.df[f"{col}_as_str"] = self.df[col].astype(str)

for col in self.df.columns:
self.df[col] = self.df[col].astype("category")
Expand Down

0 comments on commit 2750652

Please sign in to comment.