Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
address copy-on-write-related warnings
pandas is moving to a copy-on-write model. From their guide: > CoW means that any DataFrame or Series derived from another in any way always behaves as a copy. As a consequence, we can only change the values of an object through modifying the object itself. Thus, `new_teams["trb"].fillna(0, inplace=True)` would not work with CoW (trb would be filled with zeroes only in a copy, not in the original `new_teams` dataframe). This can be addressed by using a slightly different syntax for in-place updates. Migration guide: https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html#copy-on-write-migration-guide
- Loading branch information