Exposing data through a python library

I’ve notices in the data science course that a couple of the exercises have you work with data exposed through a python library? Is this common practice?