Skip to content
Snippets Groups Projects
Commit 9b4e17e3 authored by Blaise Li's avatar Blaise Li
Browse files

Optional fillna in exclude_all_nan_cols.

The default behaviour has been changed to be of more general use.
The previous default was to fill the NaNs not belonging to
all NaN columns with 0, which was suitable for standardized usage
biases (which are expected to be centered on 0), but we might prefer
to keep NaNs if we want to later replace those values with something
else when dealing with other usage metrics than biases. If a single
filling value is desired, it can be set using argument fill_other_nas.

Implementation detail: The fillna still happens, but with a default
value of np.nan, which hopefully should be OK.
parent 2f2bba77
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment