cmartins2001 / player-valuation-model

0 stars 0 forks source link

Fix references in fbref_scrape.py file #2

Closed cmartins2001 closed 3 months ago

cmartins2001 commented 4 months ago

Need to replace the Bentley OD references in the fbref_scrape.py file. There is only one variable dir used, but that needs to be replaced. Not sure if I should use repo_dir = os.path.dirname(os.path.abspath(__file__)) per the league_merge.py file. Either way, I never included dynamic folder paths for the make_xl function in python, so need to add that into the iteration so that the league-season level dataframes are sent to the Github folder fbref-data and its corresponding subfolders (league-level).