What does 'import ___ as ____" mean, followed by a line of "from _____ import ____"

What does:

 import pandas as pd
 from chembl_webresource_client.new_client import new_client

Mean in:

'import' 'as' 'from', and secondly, why do we use import in the second line? Why do we use 'client.new client', and 'new client' as well?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum