I have more experience with SQL then with Python and now start to use Python more. I've read comparison with sql for pandas.  
Groupby is clear to understand for me groupby('colname').  
However why for select we need to write name of frame twice like in example frame[frame['col1'].notna()] I could not find a reason via web search. 
 
    