Created
February 14, 2021 02:56
-
-
Save tradingbills/a936b89a102ae9c3aad2a1a71c21f210 to your computer and use it in GitHub Desktop.
Data Understanding (edureka Tableau)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Data Understanding (1-5) | |
1. Industry data belongs to: Ecommerce | |
2. Find count of observations and variables,(use glimpse): 51290 & 24 | |
3. Know data types (use glimpse) | |
4. Levels: (use glimpse) | |
5. See if any negatives (because this is ecommerce data) | |
```{r} | |
glimpse(df99) | |
summary(df99) | |
``` | |
Data Understanding 6. Null | |
```{r} | |
### make func | |
count_missing = function(df){ | |
sapply(df, FUN=function(col) sum(is.na(col))) | |
} | |
### apply count_missing func to df | |
nacounts <- count_missing(df99) | |
hasNA = which(nacounts > 0) | |
nacounts[hasNA] | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment