知识点:通过标签进行选择 .loc[]
df2 = df1.loc[df['c'] == 1]
即可!
参考文档:
https://www.cnblogs.com/everfight/p/pandas_select_rows.html