Is it possible to filter rows based on 1 value in that row? I am doing some sport stats analysis and I have a column that contains the final outcome and score like so: W 112-101. PS I know the PlusMinus
doesn't make sense I am just trying to show the format of my code.
I would like to just pull all of the wins out of the data set. I have tried to use indexing but I am having a hard time. Thanks!
Date Home Away PlusMinus Final
1 Mon, Oct 29, 2018 Golden State Warriors Chicago Bulls 36 W 149-124
2 Wed, Feb 6, 2019 Milwaukee Bucks Washington Wizards 13 W 148-129
3 Fri, Jan 4, 2019 Milwaukee Bucks Atlanta Hawks 39 L 112-144