BUG: bug in nanops.var with ddof=1 and 1 elements would sometimes return inf
     rather than nan on some platforms (GH6136)
Merge pull request #6204 from jreback/var_ddof

BUG: bug in nanops.var with ddof=1 and 1 elements would sometimes return inf rather than nan (GH6136)