-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
bdpy/bdpy/preproc/select_top.py
Line 41 in f2db58a
| sorted_index = np.argsort(value)[::-1] |
valueにnanが入っているとargsortで後ろに回されたたnanがtopに来るという微妙な挙動になるので,修正しておいていいですか?
この行の直前で,value内のnanを-np.infで置き換えるつもりです.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels