Skip to content

Commit 41054eb

Browse files
authored
Merge pull request #1 from ayushdg/dask-sql
Q28: Reset index on train/test df's after sorting
2 parents 5c1eeb8 + 0ba6115 commit 41054eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gpu_bdb/queries/q28/gpu_bdb_query_28_dask_sql.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ def main(data_dir, client, bc, config):
336336
ORDER BY pr_review_sk
337337
"""
338338
test_data = bc.sql(query1)
339+
test_data = test_data.reset_index(drop=True)
339340

340341
# 90 % of data
341342
query2 = """
@@ -349,6 +350,7 @@ def main(data_dir, client, bc, config):
349350
ORDER BY pr_review_sk
350351
"""
351352
train_data = bc.sql(query2)
353+
train_data = train_data.reset_index(drop=True)
352354

353355
final_data, acc, prec, cmat = post_etl_processing(
354356
client=client, train_data=train_data, test_data=test_data

0 commit comments

Comments
 (0)