hgc.constants.read_write module

Import csv files that contain information on the constants required by HGC.

hgc.constants.read_write.convert_csv_to_tuples()

Convert the definitions in CSV files to one dict of named tuples and write that to constants.py

hgc.constants.read_write.df_to_dict_of_tuples(df, tuple_name='Row')

changes dataframe to dictionary of tuples