Closed hedonistrh closed 2 years ago
Hey Halil! I can add the code to add a "Shots" column to the match dataframe and I'll remove the NaN row as well. Thanks for adding this! I'll close this when I push that updated code.
Thanks a lot for adding that and keeping the reference. Really appreciated your efforts. 🙏
I was working with FBRef scraper and realized that we can also scrape Shots from the website and one can use that to understand when each goal happened and how.
I also saw that you mentioned that in the comment of the related code-block as we can see from here. Based on your implementation, I tried to add following into here to achieve what I mentioned.
Then run following to scrape the match and then printed results
That is working without any issue. However there can be NaN column and that is related with splitting first and second half. So even that can be used to split Shots into first and second half but not sure does that make sense or not.
If that makes sense to you I can create PR for that as well. 👨💻