Reza energy
Reza energy

Reputation: 135

changing pandas_profiling's report width size

How can I change pandas_profiling's report width size? now at jupyther lab/notebook other cells are fit to the monitor width but the pandas_profiling's report's width is narrow.

enter image description here

Upvotes: 0

Views: 458

Answers (1)

Simon
Simon

Reputation: 5698

Since pandas_profiling version 2 you can instruct the package to scale to the full width.

The specific code for this is:

df.profile_report(style={'full_width':True})

(or pandas_profiling.ProfileReport(style={'full_width':True}) if you prefer)

Upvotes: 1

Related Questions