What is the difference of the below codes?
When I executed python codes, I got different results.
1st code is easy for me, but 2nd code is what I want.
I want to know the reason.
- variable.columns.isnull()  eg. boat_data.gear.isnull()
- variable[variable.columns.isnull()] eg. boat_data[boat_data.gear.isnull()]
 
     
     
    