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.
1 parent 842e9ce commit 256f704Copy full SHA for 256f704
data/src/utils/times.py
@@ -492,7 +492,7 @@ def _binary_search(
492
493
except Exception as e:
494
if print_log:
495
- self.config.logger.error(f"{e}. Backing off and retrying...")
+ self.config.logger.error(f"{e}. Starting binary search...")
496
mo = (o_start_idx + o_end_idx) // 2
497
md = (d_start_idx + d_end_idx) // 2
498
return (
@@ -536,8 +536,10 @@ def get_times(self) -> pd.DataFrame:
536
]
537
)
538
else:
539
- results_df = pd.concat(results, ignore_index=True).set_index(
540
- ["origin_id", "destination_id"]
+ results_df = (
+ pd.concat(results, ignore_index=True)
541
+ .set_index(["origin_id", "destination_id"])
542
+ .sort_index()
543
544
del results
545
return results_df
0 commit comments