MAINT: use numpy.nanvar (requires numpy >= 1.8) #10689
Labels
Compat
pandas objects compatability with Numpy or Python functions
Numeric Operations
Arithmetic, Comparison, and Logical operations
This came up in #10679.
Numpy 1.8 implements
numpy.nanvar
, which can replacepandas.core.nanops._nanvar
when the minimum requirement for Numpy is bumped to 1.8 . The implementation of_nanvar
in #10679 is in fact based on the corresponding implementation in Numpy.I haven't checked whether other nanops can be replaced by a suitable Numpy equivalent.
The text was updated successfully, but these errors were encountered: