292-8, Boolean syntax

Screen Link:
Exploring Data With Pandas | Dataquest

In the example given in DQ, could we have simply used f500_sel.loc[combined] and ignored ‘final-cols’ to extract the new data frame ? The mission exercise seems to be suggesting the same.
‘Combined’ is the boolean consisting of & operator

SOLUTION to mission exercise ( with only the boolean operator and without columns)

large_revenue = f500[“revenues”] > 100000
negative_profits = f500[“profits”] < 0
combined = large_revenue & negative_profits
big_rev_neg_profit = f500[combined]

It entirely depends on what you wish to extract from the dataframe. The exercise asks us to extract all columns, while the content shows us to extract two specific columns.