Commit 34406661 authored by Hanna  JULIENNE's avatar Hanna JULIENNE

Update windows.py

parent 2ef28d90
Pipeline #44888 passed with stages
in 59 seconds
......@@ -35,8 +35,10 @@ def realigned_zfiles_on_panel(ref_panel, zscore):
inter_id = zscore.index.intersection(ref_panel.index).drop_duplicates(keep='first')
print(inter_id)
zscore = zscore.loc[inter_id].drop_duplicates(keep='first')
sub_ref_panel = ref_panel.loc[inter_id].drop_duplicates(keep='first')
zscore = zscore.loc[inter_id]
zscore.drop_duplicates(keep='first', inplace=True)
sub_ref_panel = ref_panel.loc[inter_id]
sub_ref_panel.drop_duplicates(keep='first', inplace=True)
print(sub_ref_panel.loc[inter_id])
print(sub_ref_panel.loc[inter_id].shape)
print(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