我将获得以下性能警告:
"PerformanceWarning:
your performance may suffer as PyTables will pickle object types that it cannot
map directly to c-types [inferred_type->mixed-integer,key->block0_values] [items-> ['File1', 'File2', 'File3', 'File4', 'File5']]
warnings.warn(ws, PerformanceWarning)"
这是因为“file_attributes”df(请参阅下面的代码),它包含了以下几种内容:
典型输出store.file_属性(基本上是一组字典键/值对和一些嵌套字典):
文件1\
持续时间0.2
linescan文件glalone-001_cycle0001_LineProfileData.csv
主{'unit':'mV','divisor':0.1}
采样20000
次要{'unit':'pA','divisor':0.0005}
电压记录文件GLULONE-001
文件2\
持续时间0.2
linescan文件glalone-001_cycle0002_LineProfileData.csv
主{'unit':'mV','divisor':0.1}
采样20000
次要{'unit':'pA','divisor':0.0005}
电压记录文件GLULONE-001\U Cycle00002\U VoltageRecording U 001
等等
我为此编写的函数是从另一个解析数据文件文件夹的函数中提取数据:
^{pr2}$不过,我不知道如何处理这个警告。在这两篇文章中,我找到了一个合适的解决方案,但却没有给我任何帮助。在
有什么想法吗?在
目前没有回答
相关问题 更多 >
编程相关推荐