在 R 上的笔记本中使用 read_csv 命令时,CSV 文件现在以表格格式显示

问题描述 投票:0回答:1
library(tidyverse) # metapackage of all tidyverse packages # Input data files are available in the read-only "../input/" directory" directory # For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory list.files(path = "../input/students-dropout-and-academic-success-dataset") students = read_csv("/kaggle/input/students-dropout-and-academic-success-dataset/data.csv") spec(students) students
给我这样的输出而不是表格格式:(

enter image description here

尝试了一切,但没有任何效果

r dataframe kaggle
1个回答
0
投票
分隔符好像是分号(;)。您可以使用

read_csv2()

 读取该格式。

© www.soinside.com 2019 - 2024. All rights reserved.