can you turn off warnings from an imported library in python? code example
Example 1: python suppress warnings in function
import warnings
warnings.filterwarnings("ignore")
Example 2: ignoring warnings
import warnings
warnings.filterwarnings(action= 'ignore')