The numpy module provides several functions that help reading data from files into the ndarray objects. The numpy module also provides functions that write data from ndarray to files.