我尝试将 Matlab 文件导入 python 并形成数据框。
from scipy.io import loadmat
import os.path
path=os.path.abspath(os.getcwd())+"/BatteryDataSet/BatteryAgingARC_25_26_27_28_P1/B0025.mat"
mat = loadmat(path)
然后我尝试转换为熊猫数据框。它不起作用。 有人可以帮我吗?之前的帖子我都看过了,还是没有答案。
非常感谢!
我用Matlab读取.mat文件,是这样的:
再次感谢!