def _skew(a):
    '''wrapper for scipy.stats.skew that returns nan instead of raising Error

    missing options
    '''
    try:
        res = stats.skew(a)
    except __HOLE__:
        res = np.nan
    return res
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/stats/descriptivestats.py/_skew