Skip to content

Commit

Permalink
Merge pull request #127 from uzh-dqbm-cmi/fixer
Browse files Browse the repository at this point in the history
fix previous bad commits
  • Loading branch information
mcmahom5 committed Feb 7, 2023
2 parents 35472ec + 17ddaa2 commit d1d6241
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/mridle/utilities/process_live_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,9 @@ def remove_redundant(df):

features_df = features_df[features_df['MRNCmpdId'].str[:3] != 'SMS']

print(features_df.shape)

day_after_last_valid_date = end_dt + pd.to_timedelta(1, 'days')
features_df = features_df[features_df['start_time'] >= start_dt]
features_df = features_df[features_df['start_time'] < day_after_last_valid_date]
print(features_df.shape, start_dt, end_dt)

# Get number of previous no shows from historical data and add to data set
master_df = master_feature_set.copy()
Expand Down

0 comments on commit d1d6241

Please sign in to comment.