Skip to content

Commit

Permalink
Fix dataframe warning caused by type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
roxx30198 committed Nov 1, 2023
1 parent c90eb86 commit 5bec653
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dpbench/infrastructure/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,7 @@ def generate_performance_report(
.where(dm.Result.run_id == run_id)
)

df = pd.read_sql_query(
sql=sql,
con=conn.connect(),
)
df = pd.read_sql_query(sql=sql, con=conn.connect()).astype("string")

for index, row in df.iterrows():
for impl in implementations:
Expand Down

0 comments on commit 5bec653

Please sign in to comment.