ProphitBet is a Machine Learning Soccer Bet prediction application. It analyzes the form of teams, computes match statistics and predicts the outcomes of a match using Advanced Machine Learning (ML) methods. The supported algorithms in this application are Neural Networks, Random Forests & Ensembl Models.
I am wondering why there are nan values in the HW column created on this line of the code
def compute_home_wins(self, matches_df: pd.DataFrame) -> pd.DataFrame: matches_df['HW'] = self._compute_last_results(matches_df=matches_df, team_column='Home Team', result='H')
in database/repositories/leagues.py