read_table_hdf5¶
- astropy.io.misc.hdf5.read_table_hdf5(input, path=None, character_as_bytes=True)[source]¶
Read a Table object from an HDF5 file
This requires h5py to be installed. If more than one table is present in the HDF5 file or group, the first table is read in and a warning is displayed.
- Parameters:
- input
python:str
orh5py.File
orh5py.Group
or h5py.Dataset
If a string, the filename to read the table from. If an h5py object, either the file or the group object to read the table from.- path
python:str
The path from which to read the table inside the HDF5 file. This should be relative to the input file or group.
- character_as_bytesbool
If
True
then Table columns are left as bytes. IfFalse
then Table columns are converted to unicode.
- input