Converting python Dataframe to Matlab file
问题 I am trying to convert a python Dataframe to a Matlab (.mat) file. I initially have a txt (EEG signal) that I import using panda.read_csv: MyDataFrame = pd.read_csv("data.txt",sep=';',decimal='.') , data.txt being a 2D array with labels. This creates a dataframe which looks like this. In order to convert it to .mat, I tried this solution where the idea is to convert the dataframe into a dictionary of lists but after trying every aspect of this solution it's still unsuccessful. scipy.io