We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d2ba70 + 73c8525 commit 6764112Copy full SHA for 6764112
dpbench/infrastructure/reporter.py
@@ -199,18 +199,21 @@ def generate_performance_report(
199
.where(dm.Result.run_id == run_id)
200
)
201
202
+ NA = "n/a"
203
+
204
df = (
205
pd.read_sql_query(sql=sql, con=conn.connect())
206
.astype({impl: "string" for impl in implementations})
- .fillna("n/a")
207
+ .replace("0.0", NA)
208
+ .fillna(NA)
209
210
211
for index, row in df.iterrows():
212
for impl in implementations:
213
time = row[impl]
214
- if time == "n/a":
- pass
215
+ if time == NA:
216
+ continue
217
218
NANOSECONDS_IN_MILISECONDS: Final[float] = 1000 * 1000.0
219
time = float(time)
0 commit comments