Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- games['user_score'] = pd.to_numeric(games['user_score'], errors='coerce')
- games['user_score'] = games['user_score'].fillna(20)
- games.loc[(games['user_score'] == 'tbd'), 'user_score'] = 11
- games.info()
- /opt/conda/lib/python3.7/site-packages/pandas/core/ops/__init__.py:1115: FutureWarning:
- elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement