data_mac_set = data_mac.drop_duplicates(['std_mac'])
此时会报错:keep must be either "first", "last" or False
原因是:drop_duplicates()是一个 dateframe 方法,而前面的 data_mac 是一个 Series
data_mac_set = data_mac.drop_duplicates(['std_mac'])
此时会报错:keep must be either "first", "last" or False
原因是:drop_duplicates()是一个 dateframe 方法,而前面的 data_mac 是一个 Series