DA6. 查看牛客网哪些用户使用Python
描述
Python 3 解法, 执行用时: 786ms, 内存消耗: 524288KB, 提交时间: 2022-07-15
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv',sep=',',dtype=object) lan = Nowcoder[Nowcoder['Language']=="Python"] print(lan)
Python 3 解法, 执行用时: 792ms, 内存消耗: 524288KB, 提交时间: 2022-07-15
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv',sep=',',dtype=object) print(Nowcoder[Nowcoder['Language']=='Python']) #print(Nowcoder[Nowcoder['Language']=='Python'])
Python 3 解法, 执行用时: 794ms, 内存消耗: 524288KB, 提交时间: 2022-07-24
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv',sep=',',dtype=object) print(Nowcoder[Nowcoder['Language']=='Python'])#注意nowcoder写两次
Python 3 解法, 执行用时: 796ms, 内存消耗: 524288KB, 提交时间: 2022-07-26
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv',sep=',',dtype=object) print(Nowcoder[Nowcoder['Language'] == "Python"])
Python 3 解法, 执行用时: 798ms, 内存消耗: 524288KB, 提交时间: 2022-07-13
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv',sep=',',dtype=object) # print(Nowcoder[Nowcoder['Language']=='python']) print(Nowcoder[Nowcoder['Language']=='Python'])