题解 | #牛客网C系用户们的信息#
牛客网C系用户们的信息
https://www.nowcoder.com/practice/7fa938bed7f945e2a90fbc64fbb863fc
import pandas as pd pd.set_option('display.width', 300) # 设置字符显示宽度 pd.set_option('display.max_rows', None) # 设置显示最大行 pd.set_option('display.max_columns', None) Nowcoder = pd.read_csv('Nowcoder.csv', sep=',') # print(Nowcoder[(Nowcoder['Language'].isin(['CPP','C','C#']))]) df1 = Nowcoder.query('Language in (["CPP","C","C#"])') print(df1)