deprecated warning in python code example
Example 1: ignore warnings python
import warnings
warnings.filterwarnings("ignore")
Example 2: ignoring warnings
import warnings
warnings.filterwarnings(action= 'ignore')
import warnings
warnings.filterwarnings("ignore")
import warnings
warnings.filterwarnings(action= 'ignore')