Commit 909348ad authored by Hanna  JULIENNE's avatar Hanna JULIENNE

Update windows.py

parent b1179312
Pipeline #44882 passed with stages
in 1 minute and 8 seconds
......@@ -32,7 +32,7 @@ def realigned_zfiles_on_panel(ref_panel, zscore):
- ref_panel (pd.dataframe) : snp of reference on the imputed chromosome
- zscore (pd.dataframe):
"""
inter_id = zscore.index.intersection(ref_panel.index).unique()
inter_id = zscore.index.intersection(ref_panel.index).drop_duplicates(keep='first')
print(inter_id)
zscore = zscore.loc[inter_id]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment