We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 236209a commit 2750652Copy full SHA for 2750652
asv_bench/benchmarks/categoricals.py
@@ -88,7 +88,7 @@ def setup(self):
88
)
89
90
for col in ("int", "float", "timestamp"):
91
- self.df[col + "_as_str"] = self.df[col].astype(str)
+ self.df[f"{col}_as_str"] = self.df[col].astype(str)
92
93
for col in self.df.columns:
94
self.df[col] = self.df[col].astype("category")
0 commit comments