@urlpatch(_mock_andrzejak_url)
def test_fetch_andrzejak(self):
    num_files = len(andrzejak.ZIP_FILES)
    data_dir = tempfile.mkdtemp()
    andrzejak.MD5SUMS = None
    data = andrzejak.fetch_andrzejak(data_dir)
    assert(data['archive'].endswith('andrzejak.tar.gz')
           and os.path.exists(data['archive']))
    header = pd.read_csv(data['header'])
    npt.assert_array_equal(header['class'], data['classes'])
    assert(all(len(t) == len(m)
               for t, m in zip(data['times'], data['measurements'])))
    assert(len(data['times']) == num_files)
    assert(len(data['classes']) == num_files)
    assert(all(c in ['Z', 'N', 'O', 'S', 'F'] for c in data['classes']))
    shutil.rmtree(data_dir)
how to deal with nans???
dataset/ETHPy150Open cesium-ml/cesium/cesium/datasets/tests/test_datasets.py/test_fetch_andrzejak--crossover with--dataset/ETHPy150Open woshialex/diagnose-heart/fitting_models.py/AverageModel._get_result