I have the following dataframe, df_melt
:
MatchID GameWeek Date Team Home AgainstTeam
0 46605 1 2019-08-09 Liverpool Home Norwich City
1 46605 1 2019-08-09 Norwich City Away Liverpool
2 46606 1 2019-08-10 AFC Bournemouth Home Sheffield United
3 46606 1 2019-08-10 Sheffield United Away AFC Bournemouth
4 46607 1 2019-08-10 Burnley Home Southampton
.. ... ... ... ... ... ...
540 46875 28 TBC Aston Villa Home
541 46875 28 TBC Sheffield United Away
Clearly there is a problem, with 'TBC' values in a few rows.
How do I drop those flawed rows, or fix it otherwise?