I am trying to return a dataframe to flask but it isnt allowed. Is there any workaround for this.
run.py
from api import api_result @ app