How to detect if a data frame has nan values in MATLAB?

Viewed 31

I am new to Matlab and Python. Currently i am working on some assignment where i want to check if data frame has nan values in matlab or not ? Hoping to hear back soon with response. Thank You !!

1 Answers

In Python with Pandas you can use below code:

> df.isnull().any().any()
True

>df.isnull().sum().sum()
89
Related