What's common isn't necessarily a good practice to follow - https://google.github.io/styleguide/pyguide.html#Imports
By importing a function and assigning a 1 char alias to it, the readability of the code is impacted.
By importing a function and assigning a 1 char alias to it, the readability of the code is impacted.
"import ... as" is both common and per Google's style guide a good practice to follow in this scenario.
Going by the guide, you would do 'import pprint; pprint.pprint("foo")'...which, at least in my experience, I've never seen. It's always "from pprint import pprint" or "from pprint import pprint as pp" It could be that I work with slobs.
Similarly, I often see "from pprint import pprint as pp"