docstr: If a `causal` namespace method (especially `do`) was run statefully, this resets the namespace.
  
  :return:
docstr_tok: ["If","a","`","causal","`","namespace","method","(","especially","`","do","`",")","was","run","statefully",",","this","resets","the","namespace",".",":","return",":"]
code: def reset(self):
      """
      If a `causal` namespace method (especially `do`) was run statefully, this resets the namespace.
  
      :return:
      """
      self._graph = None
      self._identified_estimand = None
      self._sampler = None
      self._method = None
  
file_path: dowhy/dowhy/api/causal_data_frame.py
imports: import networkx
  import pandas
  import dowhy.do_samplers
  from dowhy import EstimandType
  from dowhy.graph import build_graph
  from dowhy.utils.api import parse_state
label_desc: Use image node_id 2 for calling the CausalAccessor obj's underlying member method code with example usage: obj.reset() without return types