save_pandas_data_in_table#
- magicctapipe.io.save_pandas_data_in_table(input_data, output_file, group_name, table_name, mode='w')[source]#
Saves a pandas data frame in a table.
- Parameters:
- input_data
pandas.DataFrame Pandas data frame
- output_file
str Path to an output HDF file
- group_name
str Group name of the table
- table_name
str Name of the table
- mode
str Mode of saving the data if a file already exists at the path - “w” for overwriting the file with the new table, and “a” for appending the table to the file
- input_data