code: def test_empty_histogram():
      spec = empty_histogram_spec()
      empty_df = pd.DataFrame({"col": []})
      (data_0,), warnings = vf.runtime.pre_transform_datasets(
          spec, ["data_0"], inline_datasets=dict(empty_df=empty_df)
      )
      assert data_0.empty
      assert data_0.columns.tolist() == [
          "__bin_field_name",
          "__bin_field_name_end",
          "__count",
          "__bin_range",
      ]
  
imports: import pandas
  import pytest
  from pandas import Timestamp, NaT
  import pyarrow
  import vegafusion
  import json
  import polars
  from datetime import date
  import decimal
  import base64
label_desc: Use image node_id 30 for calling a global function with example usage: test_empty_histogram() without return types