code: def _create_sp_frame():
      nan = np.nan
  
      data = {
          "A": [nan, nan, nan, 0, 1, 2, 3, 4, 5, 6],
          "B": [0, 1, 2, nan, nan, nan, 3, 4, 5, 6],
          "C": np.arange(10).astype(np.int64),
          "D": [0, 1, 2, 3, 4, 5, nan, nan, nan, nan],
      }
  
      dates = bdate_range("1/1/2011", periods=10)
      return DataFrame(data, index=dates).apply(SparseArray)
  
file_path: pandas/pandas/tests/io/generate_legacy_storage_files.py
imports: from datetime import timedelta
  import os
  import pickle
  import platform
  import sys
  import numpy
  import pandas
  from pandas import Categorical, DataFrame, Index, MultiIndex, NaT, Period, RangeIndex, Series, Timestamp, bdate_range, date_range, interval_range, period_range, timedelta_range
  from pandas.arrays import SparseArray
  from pandas.tseries.offsets import FY5253, BusinessDay, BusinessHour, CustomBusinessDay, DateOffset, Day, Easter, Hour, LastWeekOfMonth, Minute, MonthBegin, MonthEnd, QuarterBegin, QuarterEnd, SemiMonthBegin, SemiMonthEnd, Week, WeekOfMonth, YearBegin, YearEnd
label_desc: Use image node_id 3 for calling a global function with example usage: _create_sp_frame() and returns: DataFrame