如何读取python中的data.parquet.gz文件?
如何读取文件 data.parquet.gz 并将其转换为PANDAS数据框架?
下面的代码给出错误:
无法打开镶木点输入源'':镶木魔术字节 在页脚中找不到。该文件已损坏,或者这不是 parquet文件。
df = pd.read_parquet('data.parquet.gz')
How to read file data.parquet.gz and convert it into a pandas dataframe?
Below code is giving error:
Could not open Parquet input source '': Parquet magic bytes
not found in footer. Either the file is corrupted or this is not a
parquet file.
df = pd.read_parquet('data.parquet.gz')
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的文件是GZIP存档,您可以阅读就像:
You file is an gzip archive, you can to read is like so: