首页 > 解决方案 > 无法读取 sagemaker 中的特殊字符

问题描述

我在 Sagemaker 中使用 R 内核。我正在使用这段代码:

prueba <-s3_read('s3://prueba/ejemplotildes.csv',  read.csv2, encoding='Latin-1')
head(prueba)

结果带来的数据没有特殊的拉丁字符,例如:á,é,í,ó,因此必须像“opción”这样的词来自“opcin”。

你知道我怎样才能把我的数据和原始数据一模一样吗?

标签: ramazon-s3amazon-sagemaker

解决方案


推荐阅读