col2.header("Spectral Data Visualization",divider='blue')
col2.header("Spectral Data Visualization",divider='blue')
## Preallocation of data structure
## Preallocation of data structure
data_import=pd.DataFrame
spectra=pd.DataFrame
meta_data=pd.DataFrame
meta_data=pd.DataFrame
selected_samples=pd.DataFrame
selected_samples=pd.DataFrame
# loader for csv file containing NIRS spectra
# loader for datafile
sselectx_csv=col1.file_uploader("Load NIRS Data",type=["csv","dx"],help=" :mushroom: select a csv matrix with samples as rows and lambdas as columns",key=5)
data_file=col1.file_uploader("Load NIRS Data",type=["csv","dx"],help=" :mushroom: select a csv matrix with samples as rows and lambdas as columns",key=5)