题解 | #解决牛客网用户重复的数据#
解决牛客网用户重复的数据
https://www.nowcoder.com/practice/c0ba0f5074564803a9518491ece61f5f
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv', sep=',', dtype=object) pd.set_option('display.width', 1000) pd.set_option('display.max_rows', None) print(Nowcoder.duplicated()) print(Nowcoder.drop_duplicates())