Skip to content

Warning when creating spectral data with non-multiindexed dataframe

If the user accidentally reads in their data with pd.read_csv("file.csv") instead of pd.read_csv("file.csv",header=[0,1), give a useful warning when the SpectralData object is created.