import pandas

import pandas as pd

Here is what the above code is Doing:
1. We’re importing the pandas library and giving it the nickname pd.
2. We’re importing the numpy library and giving it the nickname np.
3. We’re importing the matplotlib.pyplot library and giving it the nickname plt.
4. We’re importing the seaborn library and giving it the nickname sns.
5. We’re importing the statsmodels library and giving it the nickname sm.
6. We’re importing the scipy library and giving it the nickname sp.