read_hdf5_file_to_pandas_DF¶
-
cosmo_utils.utils.file_readers.
read_hdf5_file_to_pandas_DF
(hdf5_file, key=None)[source] [edit on github]¶ Reads content of HDF5 file and converts it to a Pandas DataFrame
Parameters: hdf5_file : str
Path to the HDF5 file. This is the file that will be converted to a pandas DataFrame.
key : str or NoneType, optional
Key or path in
hdf5_file
for the pandas DataFrame and the normal HDF5 file.Returns: df :
pandas.DataFrame
DataFrame from
hdf5_file
under thekey
directory.