class_docstr: Encapsulate Pyro specific logic.
docstr: Convert constant_data to xarray.
docstr_tok: ["Convert","constant_data","to","xarray","."]
code: def constant_data_to_xarray(self):
      """Convert constant_data to xarray."""
      return dict_to_dataset(
          self.constant_data,
          library=self.pyro,
          coords=self.coords,
          dims=self.dims,
          default_dims=[],
      )
  
imports: import logging
  from typing import Callable, Optional
  import warnings
  import numpy
  from packaging import version
  from ..None import utils
  from ..rcparams import rcParams
  from .base import dict_to_dataset, requires
  from .inference_data import InferenceData
label_desc: Use image node_id 10 for calling the PyroConverter obj's underlying member method code with example usage: obj.constant_data_to_xarray() and returns: dict_to_dataset