pandas was giving me the following FutureWarning when importing data:
/nfl_data_py/__init__.py:137: FutureWarning: In a future version, `df.iloc[:, i] = newvals` will attempt
to set the values inplace instead of always setting a new array. To retain the old behavior, use either
`df[df.columns[i]] = newvals` or, if columns are non-unique, `df.isetitem(i, newvals)`
plays.loc[:, cols] = plays.loc[:, cols].astype(numpy.float32)
pandas was giving me the following FutureWarning when importing data:
This change seems to have eliminated the warning.