DATA=pd.Dataframe(◯◯◯◯)

def dataframe():
   途中省略
   global DATA