Notebook
f = h5py.File("../data/nombre.hdf5","w") # Nuevo archivo. Si existe lo reescribe f = h5py.File("../data/nombre.hdf5","w-") # Nuevo archivo, solo si no existe f = h5py.File("../data/nombre.hdf5","r") # Abre solo lectura. Debe existir f = h5py.File("../data/nombre.hdf5","r+") # Abre lectura y escritura. Debe existir f = h5py.File("../data/nombre.hdf5","a") # Abre lectura y escritura. Si no existe, lo crea
ValueError: unable to create group (Symbol table: Unable to initialize object)Esto también es válido para los objetos de vinculación rígida manual:
OSError: Unable to create link (name already exists)
TypeError: Datatypes cannot be safely cast (existing int32 vs new f)