jchristo12 / fantasy_football

Files related to fantasy football analysis
0 stars 0 forks source link

Replace inf values with the most recent stat #10

Closed jchristo12 closed 5 years ago

jchristo12 commented 5 years ago

Inf values are causing the imputation to fail.

Because the engineered features based on ratio of stats are sometimes dividing by zero, it creates infinite numbers.

Need to replace these inf with the most corresponding stat.