如何将数据从STDF文件传输到Python中的Pandas DataFrame
我有一个来自STDF文件格式的数据,该格式正在测试机器输出文件格式,由半导体制造行业使用 我需要在Python中读取文件,并分析机器输出停机时间和其他详细信息上传到文件中 我在GitHub和其他平台上搜索了解决方案,Python中没有可用的无错误模块,也没有正确记录以使用现有模块实现代码
I have a data flowing in from STDF file format , which is testing machines output file format used by semiconductor manufacturing industry
I need to read the file in python and analyze machine output downtime and other details uploaded in the file
I googled for solutions in Github and other platform , there is no bug free modules available in python and also not documented properly to implement the codes with the existing modules
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议 pystdf 。
从我的经验来看,该库完全没有错误,尽管大文件的性能有些慢。而且您仍然必须理解和整理所有记录以进行数据分析目的。
在下面使用示例(此片段将多个STDF文件读取到每种记录类型的PANDAS DataFrames中)。
I suggest pystdf.
From my experience, that library is completely bug-free although the performance is somewhat slow on big files. And you'll still have to understand and sort through all the records for data analysis purposes.
Sample use below (this snippet reads multiple stdf files into pandas dataframes for each record type).
我编写了一个商业模块STDF QuickChange,该模块将STDF转换为更可用的格式,例如CSV。主要输出格式每行一排,每次测试一列。它不是Python,但您可以从Python执行它,然后加入Python加载CSV。如果您正在加载数据编号数据并需要限制,则可以将限制存储在第一行中。
I wrote a commercial module STDF QuickChange that will transform STDF into more usable formats such as CSV. The primary output format has one row per unit and one column per test. It's not python but you could execute it from python and then load the csv in with python. If you are loading datalog data and want the limits also, there are options to store the limits in the first rows.