Member-only story
7 More Things I Never Knew About Python Until Recently
# The .py Extension Doesn’t Actually Matter

1) We Can Import Multiple Libraries On One Line
import numpy as np
import pandas as pd
import tensorflow as tf
^ How we import multiple libraries under normal circumstances
import numpy as np, pandas as pd, tensorflow as tf
^ How we can import them all in one line (and save a couple of lines)
2) We Can Ignore warnings in Python

^ Example of a warning in Python — sometimes we get a lot of these when running code (especially with certain libraries). But did you know that we can completely ignore these warnings?
import warnings
warnings.filterwarnings("ignore")
^ Add this chunk at the top of your code, and all warnings that would have been shown will instead be automatically hidden. (You still need to deal with Exceptions and Errors tho)