I want to import the .csv file into a data frame.
I already tried to import but the whole file data come under only one column.
db <- read.csv("sample.csv", header = FALSE, sep = ',')
> db
V1
1 T,ICICIBANK,1000,100,20121210,120,20121209103030,1234,0
2 T,AXISBANK,1000,100,20121210,120,20121209103031,1235,0
3 T,SBIBANK,1000,100,20121210,120,20121209103032,1236,0
4 P,ICICIBANK,1100,100,20121210,120,20121209103030,1237,1234
5 P,AXISBANK,1000,100,20121210,120,20121209103031,1238,1235
6 T,ICICIBANK,1000,100,20121210,120,20121209103035,1239,0
7 T,.CITIBANK,1000,101,20121210,120,20121209103036,1240,0
8 P,ICICIBANK,1100,100,20121210,120,20121209103030,1241,1234
9 P,ICICIBANK,1100,100,20121210,120,20121209103035,1242,1239
> str(db)
'data.frame': 9 obs. of 1 variable:
$ V1: Factor w/ 9 levels "P,AXISBANK,1000,100,20121210,120,20121209103031,1238,1235",..: 7 6 9 2 1 8 5 3 4