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 !!
Advertisement
Answer
In Python with Pandas you can use below code:
JavaScript
x
6
1
> df.isnull().any().any()
2
True
3
4
>df.isnull().sum().sum()
5
89
6