Member profiling via the REST API

I'm working with the data analytics team to segment our users and create a member profile. The team is using Python and would be interested in seeing start code projects in Python. 

1. Are there python coding example to extract data from REST API? How can we install REST SDK in the Jupyter notebook?

2. Which API tables and features are most related to member profiles in REST API?

If anyone has worked on a similar project and can share their experience, please let me know. Thanks.