Skip to content

Commit 1a76600

Browse files
committed
Interesting jeje
1 parent bbcf88d commit 1a76600

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pymc_marketing/mmm/causal.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,12 @@ def get_test_results(self, x: str, y: str) -> list[dict[str, float]]:
844844
]
845845

846846
def summary(self) -> str:
847-
"""Return a human-readable summary of edges and number of CI tests."""
847+
"""Return a summary of edges and number of CI tests.
848+
849+
.. code-block:: python
850+
851+
print(model.summary())
852+
"""
848853
lines = ["=== Directed edges ==="]
849854
for u, v in self.get_directed_edges():
850855
lines.append(f"{u} -> {v}")
@@ -1213,6 +1218,12 @@ def get_undirected_edges(self) -> list[tuple[str, str]]:
12131218
return sorted(self._adj_undirected)
12141219

12151220
def summary(self) -> str:
1221+
"""Return a summary of edges and number of CI tests.
1222+
1223+
.. code-block:: python
1224+
1225+
print(model.summary())
1226+
"""
12161227
lines = ["=== Directed edges ==="]
12171228
for u, v in self.get_directed_edges():
12181229
lines.append(f"{u} -> {v}")

0 commit comments

Comments
 (0)