I am still trying to get used to some of the syntax so I apologize in advance if this is a simple answer. I have a couple of columns in a DataFrame, some of which have a missing value and some columns do not. I am looking for a way to detect which columns have any missing value and then a way to see if any cells across the DataFrame have a single missing value.
Here is the code I have, I tried the two lines at the end and both come back all false even when there are missing values:
using Pkg using DataFrames df = DataFrame([5:6, [1, missing] ,[2, missing]]) colwise(ismissing, df) colwise(ismissing, df[2,:])