简体   繁体   English

CUDF 未正确读取列

[英]CUDF not reading columns properly

I'm trying to read a csv with cudf.我正在尝试使用 cudf 阅读 csv。 It work nicely but when I try to get the content of the columns, it seems that cudf is not recognizing them at all.它工作得很好,但是当我尝试获取列的内容时,cudf 似乎根本无法识别它们。 It's a very odd behavior:这是一个非常奇怪的行为:

Here is the code:这是代码:

在此处输入图像描述

And here is the error:这是错误:

在此处输入图像描述

any help please?请问有什么帮助吗?

thanks谢谢

Resolved.解决。 the issue was in the csv file.问题出在 csv 文件中。 The format wasn't appropriate (because I created it in Excel with UTF-08 csv...) apparently cudf.read_csv doesnt recognize it, But anyways.格式不合适(因为我在 Excel 中使用 UTF-08 csv ... 创建了它)显然 cudf.read_csv 无法识别它,但无论如何。 it worked.有效。 Thanks –谢谢 -

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM