Simple example of client server communication using flask and requests (communicates a pandas dataframe as json)