Python Pandas Check If Dataframe Is Not Defined Jquery In Php