Forums

upload with flask-excel, return angular partial

Question for the Angular/Flask experts. Edit: I'm using pandas to receive a file upload and convert to df using from_dict() method. However, now I want to return a "partial" (only part of the web page), most likely using Angular instead of returning an entire page. Is there a good way to do this? What format can Angular send that most easily corresponds to something pandas will easily convert to df? Or do I need to switch all the front end to Angular or perhaps some other JS framework?

Edit: for now I just decided to use Flask to redirect to my Angular partial. This works but I'm not sure it is the "best" architecture.