class_docstr: Test of the pandas DaskDataset interface.
class_docstr_tok: ["Test","of","the","pandas","DaskDataset","interface","."]
code: def test_dataset_range_categorical_dimension_empty(self):
      ddf = dd.from_pandas(pd.DataFrame({"a": ["1", "2", "3"]}), 1)
      ds = Dataset(ddf).iloc[:0]
      ds_range = ds.range(0)
      self.assertTrue(np.isnan(ds_range[0]))
      self.assertTrue(np.isnan(ds_range[1]))
  
imports: import unittest
  from unittest import SkipTest
  import numpy
  import pandas
  from packaging.version import Version
  from holoviews.core.data import Dataset
  from holoviews.core.util import pandas_version
  from holoviews.util.transform import dim
  from .test_pandasinterface import BasePandasInterfaceTests
label_desc: Use image node_id 22 for calling the DaskDatasetTest obj's underlying member method code with example usage: obj.test_dataset_range_categorical_dimension_empty() without return types