Merge pull request #7166 from bwignall/issue7131_assertalmostequals

CLN: Deprecation of assertAlmostEquals
add sem to nanops
add tests for nanops
add sem to aggregate methods
add sem to groupby
simplify groupby's std method
add sem to docs