def test_skew(self):
        try:
            from scipy.stats import skew
        except __HOLE__:
            raise nose.SkipTest("no scipy.stats.skew")

        def this_skew(x):
            if len(x) < 3:
                return np.nan
            return skew(x, bias=False)
        self._check_stat_op('skew', this_skew)

    # def test_mad(self):
    #     f = lambda x: np.abs(x - x.mean()).mean()
    #     self._check_stat_op('mad', f)
dataset/ETHPy150Open pydata/pandas/pandas/tests/test_panel4d.py/SafeForLongAndSparse.test_skew