Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:optimdata/chrony
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrecaze committed Feb 26, 2016
2 parents 5b16267 + 781d393 commit 3e4dfd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions chrony/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ def test_merge(self):
),
columns=stamp_columns
)
pd.util.testing.assert_frame_equal(df3, df2)
fill_na_dataframe(df3)
pd.util.testing.assert_frame_equal(df3, df2b)
df4 = pd.DataFrame(
to_spans(
Expand Down
1 change: 1 addition & 0 deletions chrony/timespans.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def to_stamps(df, state_columns, value_columns, beg_col='ts_beg', end_col='ts_en
retval.sort_values('ts', inplace=True)
if retval['ts'].duplicated().sum():
raise IntegrityError
fill_na_dataframe(retval)
return retval


Expand Down

0 comments on commit 3e4dfd2

Please sign in to comment.