cshaley / bracketeer

Generate predicted bracket from a kaggle march madness submission
MIT License
33 stars 13 forks source link

Can't install #3

Closed slee7268 closed 5 years ago

slee7268 commented 5 years ago

I can't install this via pip install. there is a syntax error in setup.py I get an error tracing to line 11, the download_url. I think the "f" at the beginning is causing this. Thanks for making this!

cshaley commented 5 years ago

It works with python 3.6 and is not backward compatible to 2.7.

On Thu, Mar 21, 2019 at 10:04 AM slee7268 notifications@github.com wrote:

I can't install this via pip install. there is a syntax error in setup.py I get an error tracing to line 11, the download_url. I think the "f" at the beginning is causing this. Thanks for making this!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cshaley/bracketeer/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AGbZ3oEZjHYMLyF7G_sINZCrAduCstREks5vY5-HgaJpZM4cBplo .

slee7268 commented 5 years ago

Hi,

I'm getting an index error. Any help?

IndexError Traceback (most recent call last) in 7 submissionPath='submission/logit2.csv', 8 slotsPath=path+'NCAA/NCAATourneySlots.csv',----> 9 year=2019 10 ) ~/anaconda3/lib/python3.7/site-packages/bracketeer/init.py in build_bracket(outputPath, teamsPath, seedsPath, slotsPath, submissionPath, year) 130 st = '{seed} {team} {pred}'.format( 131 seed=seed_slot_map[key.value],--> 132 team=df[df['seed'] == seed_slot_map[key.value]][TEAM].values[0], 133 pred=pred 134 ) IndexError: index 0 is out of bounds for axis 0 with size 0

Thanks

Sam

On Thu, Mar 21, 2019 at 12:56 PM Charlie Haley notifications@github.com wrote:

Closed #3 https://github.com/cshaley/bracketeer/issues/3.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cshaley/bracketeer/issues/3#event-2220396271, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ9gyzR3e4XM3XdoIVl1nbx9_wZCXil4ks5vY7nPgaJpZM4cBplo .

cshaley commented 5 years ago

I think the official season in the Kaggle dataset is 2018, so try that for the year in place of 2019