diff --git a/generated_for_index/baskets.html b/generated_for_index/baskets.html
new file mode 100644
index 000000000..01c736c0f
--- /dev/null
+++ b/generated_for_index/baskets.html
@@ -0,0 +1,30 @@
+
+
+
+ | basket_ID |
+ fraud_flag |
+
+
+
+
+ | 85517 |
+ 0 |
+
+
+ | 83008 |
+ 0 |
+
+
+ | ... |
+ ... |
+
+
+ | 97639 |
+ 0 |
+
+
+ | 95939 |
+ 0 |
+
+
+
\ No newline at end of file
diff --git a/generated_for_index/products.html b/generated_for_index/products.html
new file mode 100644
index 000000000..152e4e88d
--- /dev/null
+++ b/generated_for_index/products.html
@@ -0,0 +1,36 @@
+
+
+
+ | basket_ID |
+ cash_price |
+ Nbr_of_prod_purchas |
+
+
+
+
+ | 85517 |
+ 889 |
+ 1 |
+
+
+ | 83008 |
+ 1399 |
+ 1 |
+
+
+ | ... |
+ ... |
+ ... |
+
+
+ | 95939 |
+ 1149 |
+ 1 |
+
+
+ | 95939 |
+ 7 |
+ 1 |
+
+
+
\ No newline at end of file
diff --git a/skrub/_reporting/_patching.py b/skrub/_reporting/_patching.py
index d0a1dc918..01755be89 100644
--- a/skrub/_reporting/_patching.py
+++ b/skrub/_reporting/_patching.py
@@ -23,19 +23,21 @@ def _patch(
stashed_name = _stashed_name(method_name)
if not hasattr(cls, stashed_name):
setattr(cls, stashed_name, original_method)
- setattr(
- cls,
- method_name,
- lambda df: getattr(
- TableReport(
- df,
- verbose=verbose,
- plot_distributions=plot_distributions,
- compute_associations=compute_associations,
- ),
- method_name,
- )(),
- )
+
+ def _patched(df, *args, **kwargs):
+ report = TableReport(
+ df,
+ verbose=verbose,
+ plot_distributions=plot_distributions,
+ compute_associations=compute_associations,
+ )
+
+ report._set_minimal_mode()
+
+ return getattr(report, method_name)(*args, **kwargs)
+
+ setattr(cls, method_name, _patched)
+
def _unpatch(cls, method_name):