题解 | #解决牛客网用户重复的数据#
解决牛客网用户重复的数据
https://www.nowcoder.com/practice/c0ba0f5074564803a9518491ece61f5f
import pandas as pd f = pd.read_csv('Nowcoder.csv') print(f.duplicated()) print(f.drop_duplicates())
这道题甚至都不用最后一行代码就能判断你对,绝了
解决牛客网用户重复的数据
https://www.nowcoder.com/practice/c0ba0f5074564803a9518491ece61f5f
import pandas as pd f = pd.read_csv('Nowcoder.csv') print(f.duplicated()) print(f.drop_duplicates())
这道题甚至都不用最后一行代码就能判断你对,绝了
相关推荐