We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got this error
ValueError Traceback (most recent call last) in ----> 1 MAX_OUTCOMES = max([event.num_outcomes for event in arbitrage_events]) 2 ARBITRAGE_EVENTS_COUNT = len(arbitrage_events) 3 4 my_columns = ['ID', 'Sport Key', 'Expected Earnings'] + list(np.array([[f'Bookmaker #{outcome}', f'Name #{outcome}', f'Odds #{outcome}', f'Amount to Buy #{outcome}'] for outcome in range(1, MAX_OUTCOMES + 1)]).flatten()) 5 dataframe = pd.DataFrame(columns=my_columns)
ValueError: max() arg is an empty sequence
The text was updated successfully, but these errors were encountered:
Ive been trying to get this to work also
Sorry, something went wrong.
Also have this issue, have you been able to fix it? @uzairnz @fadeeveryone
@uzairnz Have you found a solution ?
Help plz
No branches or pull requests
Creating Dataframe and Writing to Excel File
Got this error
ValueError Traceback (most recent call last)
in
----> 1 MAX_OUTCOMES = max([event.num_outcomes for event in arbitrage_events])
2 ARBITRAGE_EVENTS_COUNT = len(arbitrage_events)
3
4 my_columns = ['ID', 'Sport Key', 'Expected Earnings'] + list(np.array([[f'Bookmaker #{outcome}', f'Name #{outcome}', f'Odds #{outcome}', f'Amount to Buy #{outcome}'] for outcome in range(1, MAX_OUTCOMES + 1)]).flatten())
5 dataframe = pd.DataFrame(columns=my_columns)
ValueError: max() arg is an empty sequence
The text was updated successfully, but these errors were encountered: