Quickly combine a timing and properties file
In [24]:
import pandas_profiling
import pandas as pd
In [27]:
props = pd.read_csv('../matrix_properties/processed_properties.csv', header=0, index_col=0)
system_info = pd.read_csv('../systems_info/systems_info.csv', header=0, index_col=0)
timings = pd.read_csv("../processed_timings/np_specific/combined_np12_timings.csv", header=0, index_col=0)
In [29]:
props.info()
In [30]:
system_info.info()
In [31]:
timings.groupby('system_id').mean()
Out[31]:
In [33]:
flipped = system_info.transpose()
flipped.info()
In [40]:
timings_and_system_info = pd.merge(timings, flipped, on='system_id')
timings_and_system_info = timings_and_system_info.drop_duplicates()
timings_and_system_info = timings_and_system_info.dropna()
timings_and_system_info.to_csv('./np12_timings_and_system_info.csv',index=False)
In [37]:
timings_and_system_info.head()
Out[37]:
In [10]:
combined = pd.merge(props,timings, on='matrix_id')
combined = combined.drop_duplicates()
combined = combined.dropna()
combined.to_csv(loc + '_combined_timings.csv')
In [ ]:
system_combined = pd.merge()