add sem to nanops and pandas object apply methods