application_vnd.jupyter.stderr_output_1.png
from glob import glob

import numpy as np

import os

DATA = '../input/sleepstate/sleep-state'
fnames = sorted(glob(os.path.join(DATA, '*.edf')))

PP_DATA = '../input/respiracion1'
fnames = sorted(glob(os.path.join(PP_DATA, '*.npz')))
total_fs = [f for f in fnames if f.split('/')[-1][:5]]
total_data = {k: np.load(k) for k in total_fs}
samples = total_data['../input/respiracion1/SC4001E0.npz']
samples['x'].shape