Skip to content

Commit

Permalink
ignore index on sort for mp coalesce edbs
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensle committed Nov 23, 2024
1 parent 8d4dd37 commit 1fb41a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activitysim/core/steps/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def concat_and_write_edb(df_concat_dict, write_dir):
if df.index.name is not None:
df = df.sort_index()
else:
df = df.sort_values(by=df.columns[0], kind="mergesort")
df = df.sort_values(by=df.columns[0], kind="mergesort", ignore_index=True)

if table_name.endswith(".csv"):
df.to_csv(os.path.join(write_dir, table_name), index=False)
Expand Down

0 comments on commit 1fb41a8

Please sign in to comment.