df = pd.read_excel('StartAdding.xlsx')
startfrom,endto = df.loc[df['Session'].str.contains(session_name, case=False),['Start','End']].squeeze()
n = 0
for user in users:
if (int(startfrom) <= int(user['srno'])) and (int(user['srno']) <= int(endto)):
n += 1
if n % 50 == 0:
sleep(900)
I'm getting ValueError: invalid literal for int() with base 10: 'Start' at line 84.
Any help or anyone know why this is happening? I am trying to read startfrom and endto from excel below.