class_docstr: Result of causal analysis.
class_docstr_tok: ["Result","of","causal","analysis","."]
code: def __init__(
      self,
      config: Optional[CausalConfig] = None,
      causal_analysis: Optional[Any] = None,
      global_effects: Optional[pd.DataFrame] = None,
      local_effects: Optional[pd.DataFrame] = None,
      policies: Optional[Any] = None,
  ):
      super().__init__(str(uuid.uuid4()), CausalVersions.get_current())
  
      self.config = config
  
      self.causal_analysis = causal_analysis
      self.global_effects = global_effects
      self.local_effects = local_effects
      self.policies = policies
  
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 1 to create a new CausalResult object from inherited base classes: BaseResult with example: obj = CausalResult(config, causal_analysis, global_effects, local_effects, policies)