SyntaxFix
Write A Post
Hire A Developer
Questions
A tidyverse way to count the number of nulls in every column of a dataframe:
library(tidyverse) library(purrr) df %>% map_df(function(x) sum(is.na(x))) %>% gather(feature, num_nulls) %>% print(n = 100)