检查所有列的值。如果值大于100,000:
df.loc[df['12:00AM'] > 100000, '12:00AM'] = (4294967295 - df.loc[df['12:00AM'] > 100000, '12:00AM']) +1
z31licg01#
我是这样做的:其中:A-B = -B+A
df[df> 100000] = -1*df[df> 100000] + 4294967295+1
1条答案
按热度按时间z31licg01#
我是这样做的:其中:A-B = -B+A