I\'m trying to scrape a table from Baseball-Reference and then clean it up as part of an importing function. I am able to perform the necessary steps when I run my code line