-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
maintenanceItems related to regular maintenance tasksItems related to regular maintenance tasksscipy.stats
Description
Because IPython + pandas seems to be becoming the usual interface to the scipy stack, and because pandas uses NaN to mean NA, more of the lower-level projects like scipy are seeing NaN inputs that are not the results of undefined operations.
Debugging these NaN-related problems seems to involve multiple issues that are usually not distinguished in the original bug reports.
- scipy propagates NaN more than strictly necessary, regardless of NaN semantics
- scipy complains about NaN creation, but not necessarily about NaN propagation
- scipy doesn't generally use NaN to mean 'missing data'.
Technically, none of these issues are bugs. Improving (1) could be helpful to avoid misunderstandings about how scipy treats NaNs, and maybe it would be worth adding more complaints for (2). I don't think scipy will ever change (3) until a numpy-like layer implements separate NA and NaN.
Metadata
Metadata
Assignees
Labels
maintenanceItems related to regular maintenance tasksItems related to regular maintenance tasksscipy.stats