code: def test_data():
      now = pd.Timestamp("20000101")
      return pd.DataFrame(
          [
              dict(date=now, security_id=i, foo=1, bar=1.5, baz="baz")
              for i in range(50)
          ],
          columns=["date", "security_id", "foo", "bar", "baz"],
      )
  
imports: import getpass
  import os
  import random
  import string
  import unittest
  import numpy
  import pandas
  import pytest
  from pandas.tseries.offsets import Day
  from past.utils import old_div
  from six import PY3
label_desc: Use image node_id 11 for calling a global function with example usage: test_data() and returns: pd