code: def _build_bitmap_data():
      """
      Build an SFrame from 10 saved drawings.
      """
      from os.path import join as _join, realpath as _realpath
      from os.path import splitext as _splitext, basename as _basename
      from os.path import dirname as _dirname
  
      drawings_dir = _join(_dirname(_realpath(__file__)), "drawings")
      sf = _tc.image_analysis.load_images(drawings_dir, with_path=True)
      sf = sf.rename({"image": "drawing", "path": "label"})
      sf["label"] = sf["label"].apply(
          lambda filepath: _splitext(_basename(filepath))[0][:-1]
          # Extract the class name from the filename, "check1.png" -> "check"
          # [:-1] is to get "check" out of "check1"
      )
      return sf
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import os
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  import numpy
  import tempfile
  from array import array
  import sys
  from .None import util
  import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: _build_bitmap_data() and returns: sf