где ошибка в коде?
import pandas as pd
log = pd.read_csv('log.csv')

log.columns = ["user_id", "time", "bet", "win"] 

log['time'] = log['time'].apply(lambda x: x[1:]) 
log["time"] = pd.to_datetime(log["time"]) 
log['hour'] = pd.to_datetime(log['time']).dt.hour 
#log['bet'] = log['bet'].fillna(0) 
#log['win'] = log['win'].fillna(0) 
#log['net'] = log['win'] - log['bet'] 


log["win"].fillna(0)
log['bet'].fillna(0)


log['net']=log['win']-log['bet']
#print(log['net'].value_counts())


positive_net = len(log.loc[log['net'] > 0]) 
print(positive_net)