Hide the interactions section in pandas profiling report in html

1k views Asked by At

I already tried hiding the correlations, missing_values and sample values. Now i'm trying to hide the interactions but i am not able to find the logic.

1

There are 1 answers

2
PStein On BEST ANSWER

Version 2.4+ offers a minimal mode that you can activate via a flag parameter:

Link to documentation

Version 2.4 introduces minimal mode. This is a default configuration that disables expensive computations (such as correlations and dynamic binning).

profile = ProfileReport(large_dataset, minimal=True)
profile.to_file("output.html")

Maybe this fits your needs.

EDIT: You can also configure the output html more fine-grained via configuration options or by loading a written configuration file

This should do the trick, if i understand your question correctly:

r = ProfileReport(data_set, interactions=None)