Example using pandas:
So everytime I use the ".ix()" command, there is a "DeprecationWarning" that pops up which also provides me to functions to use.
, is there a way to annotate a @deprecated to not print warnings?
Yes, I think there is…
A warning filter used to activate or not the deprecation warning.
Can be one of “error”, “ignore”, “always”, “default”, “module”, or “once”.
By default the deprecation warning is always emitted (the value is “always”).
Will try: action=ignore
Tom, when you have time, can you link to the documentation where you find the information above? It’s good to track where this is documented, so that anyone come in later can find more information related to deprecated.
Verified seeing deprecation messages when attempting to call deprecated methods