class_docstr: Result of causal analysis.
class_docstr_tok: ["Result","of","causal","analysis","."]
docstr: Create a causal data object.
  
  :return: An object of type CausalData.
  :rtype: CausalData
docstr_tok: ["Create","a","causal","data","object",".",":","return",":","An","object","of","type","CausalData",".",":","rtype",":","CausalData"]
code: def _create_causal_data_object(self):
      """Create a causal data object.
  
      :return: An object of type CausalData.
      :rtype: CausalData
      """
      causal_data = CausalData()
  
      causal_data.id = self.id
      causal_data.version = self.version
      causal_data.config = self._get_config_object(self.config)
  
      return causal_data
  
imports: import json
  import re
  import uuid
  from pathlib import Path
  from typing import Any, List, Optional, Tuple, Union
  import pandas
  import semver
  from responsibleai._interfaces import CausalConfig
  from responsibleai._interfaces import CausalData, CausalPolicy, CausalPolicyGains, CausalPolicyTreeInternal, CausalPolicyTreeLeaf, ComparisonTypes
  from responsibleai._internal.constants import FileFormats, SerializationAttributes
  from responsibleai._tools.causal.causal_config import CausalConfig
  from responsibleai._tools.causal.causal_constants import ResultAttributes
  from responsibleai._tools.shared.base_result import BaseResult
  from responsibleai._tools.shared.versions import CausalVersions
label_desc: Use image node_id 3 for calling the CausalResult obj's underlying member method code with example usage: obj._create_causal_data_object() and returns: causal_data