I keep getting this :
DeprecationWarning: integer argument expected, got float
How do I make this message go away? Is there a way to avoid warnings in Python?
You should just fix your code but just in case,
import warnings warnings.filterwarnings("ignore", category=DeprecationWarning)
2.1m questions
2.1m answers
60 comments
57.0k users