Get startedGet started for free

Using File to import HDF5 files

The h5py package has been imported in the environment and the file LIGO_data.hdf5 is loaded in the object h5py_file.

What is the correct way of using the h5py function, File(), to import the file in h5py_file into an object, h5py_data, for reading only?

This exercise is part of the course

Introduction to Importing Data in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise