Skip to content
Advertisement

Find out the percentage of missing values in each column in the given dataset

JavaScript

input is https://query.data.world/s/Hfu_PsEuD1Z_yJHmGaxWTxvkz7W_b0

and the output should be

JavaScript

Advertisement

Answer

How about this? I think I actually found something similar on here once before, but I’m not seeing it now…

JavaScript

And if you want the missing percentages sorted, follow the above with:

JavaScript

As mentioned in the comments, you may also be able to get by with just the first line in my code above, i.e.:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement