Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个相当大的数据集,我想在推导列类型/类之前删除一些列。我该怎么做。
我试过这个
Initial <- read.csv("file.csv",header = T,fill=T,nrows=100) Classes <- sapply(initial,class) Fullefileread <- read.csv("file.csv",colclasses = classes)
但这抱怨因为某些数据 100k 行不是 null 在 100 子集中是 null 。