import warnings warnings.filterwarnings(action='ignore')
import warnings warnings.filterwarnings(action='default')