Skip to content

Commit

Permalink
Remove frequency --format=detail; make merged.csv sorting determinist…
Browse files Browse the repository at this point in the history
…ic (#141)
  • Loading branch information
standage committed Sep 13, 2023
1 parent 7477d43 commit 81f32b6
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 92 deletions.
2 changes: 1 addition & 1 deletion dbbuild/lib/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def populations(self):
@property
def merges(self):
table = pd.DataFrame(self.interval_index.mergeables.items(), columns=["Derivative", "Original"])
table = table.sort_values("Original").reset_index(drop=True)
table = table.sort_values(["Original", "Derivative"]).reset_index(drop=True)
return table

def __str__(self):
Expand Down
Loading

0 comments on commit 81f32b6

Please sign in to comment.