diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-12-25 07:32:09 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-12-25 07:32:09 -0600 |
commit | ec98b0f8e39384fce04f20c33045766ace115718 (patch) | |
tree | dd32a91b4dae7e843a9521d55bb319d229475fd2 /utils | |
parent | d9755b85e46d75af024bf731653aac3639339b3a (diff) | |
download | sddm-ec98b0f8e39384fce04f20c33045766ace115718.tar.gz sddm-ec98b0f8e39384fce04f20c33045766ace115718.tar.bz2 sddm-ec98b0f8e39384fce04f20c33045766ace115718.zip |
merge left
Diffstat (limited to 'utils')
-rw-r--r-- | utils/sddm/renormalize.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sddm/renormalize.py b/utils/sddm/renormalize.py index b501a26..8d06263 100644 --- a/utils/sddm/renormalize.py +++ b/utils/sddm/renormalize.py @@ -142,6 +142,6 @@ def renormalize_data(data, mcpl): MC dataframe so that the "flux_weight" column is available to renormalize the tau neutrino data. """ - data = pd.merge(data,mcpl[['run','unique_id','flux_weight']],on=['run','unique_id']) + data = pd.merge(data,mcpl[['run','unique_id','flux_weight']],on=['run','unique_id'],how='left') data['flux_weight'] = data['flux_weight'].fillna(1.0) return data |