def load_data(fname, **kwargs):
    """Load example data"""
    fname = get_file(fname)
    if fname.suffix == ".lzma":
        return load_tar_lzma_data(fname)
    elif fname.suffix == ".zip":
        return load_zip_data(fname, **kwargs)
def load_data ( fname , ** kwargs ) : fname = get_file ( fname ) if fname . suffix == ".lzma" : return load_tar_lzma_data ( fname ) elif fname . suffix == ".zip" : return load_zip_data ( fname , ** kwargs )
Load example data