code: def create_df(request):
      df = pd.DataFrame(dict(a=[1, 2, 3], b=[4, 5, 6]))
      instance = startup("", data=df, ignore_duplicate=True)
  
      resp = redirect(f"/flask/dtale/main/{instance._data_id}")
      return resp
  
imports: import pandas
  from django.http import HttpResponse
  from django.shortcuts import redirect
  from dtale.views import startup
label_desc: Use image node_id 2 for calling a global function with example usage: create_df(request) and returns: resp