'cant select spesific rows and find null variables

ın the data there are 7 devices and ı want to select 1st device which device ıd is 1. And define how many null variables in it.

i have tried this but it didnt gave me the null variables of speed

df1 = df['Device_ID']==1 df1.isnull().sum()



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source