0
$\begingroup$

I've a trainingset which has 400 features and most of them have null value.

I tried to draw the heatmap of nullity correlation matrix by means of Python and missingno, but the heatmap is unreadable due to high number of features.

How can I print the nullity correlation matrix, instead of draw it?

$\endgroup$
1
  • $\begingroup$ Hi, and welcome! What framework are you currently using? If it can draw the heatmap, surely you can retrieve the values somehow. $\endgroup$ Oct 19, 2019 at 6:09

1 Answer 1

1
$\begingroup$

Using pandas, the nullity correlation matrix seems to be obtained by df.isnull().corr() (this is how it is done is missingno), and this makes sense.

missingno package also states, in the heatmap function documentation, that for large datasets the dendogram view is better. However, it does not tell me if "large" means many features or entries.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.