DOC: added comment for the case of NaNs