library(readr)
dulieu <- read_csv("C:/Users/NGOC/Documents/PTDLĐT/For_EDA_dataset 1.csv")
## Warning: One or more parsing issues, call `problems()` on your data frame for details,
## e.g.:
## dat <- vroom(...)
## problems(dat)
## Rows: 153432 Columns: 6
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (2): property_type, purpose
## dbl (4): price, baths, bedrooms, Area_in_Marla
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
str(dulieu)
## spc_tbl_ [153,432 × 6] (S3: spec_tbl_df/tbl_df/tbl/data.frame)
## $ property_type: chr [1:153432] "Flat" "Flat" "House" "House" ...
## $ price : num [1:153432] 10000000 6900000 16500000 43500000 7000000 34500000 27000000 7800000 50000000 40000000 ...
## $ baths : num [1:153432] 2 3 6 4 3 8 8 2 7 5 ...
## $ purpose : chr [1:153432] "For Sale" "For Sale" "For Sale" "For Sale" ...
## $ bedrooms : num [1:153432] 2 3 5 4 3 8 8 2 7 5 ...
## $ Area_in_Marla: num [1:153432] 4 5.6 8 40 8 32 20 6.2 20 20 ...
## - attr(*, "spec")=
## .. cols(
## .. property_type = col_character(),
## .. price = col_double(),
## .. baths = col_double(),
## .. purpose = col_character(),
## .. bedrooms = col_double(),
## .. Area_in_Marla = col_double()
## .. )
## - attr(*, "problems")=<externalptr>