1

I am trying to use pandas_profiling package for data profiling. For basic usage, i have followed this documentation

https://github.com/pandas-profiling/pandas-profiling

and use the following code from it

import numpy as np
import pandas as pd
import pandas_profiling

df = pd.DataFrame(
np.random.rand(100, 5),
columns=['a', 'b', 'c', 'd', 'e']
)

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

But upon running this code in Anaconda I am getting following error

ValueError: keyword rotation is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop']

Usman Rafiq
  • 137
  • 1
  • 11

1 Answers1

0

For future reference: update your pandas and matplotlib packages. Versions of pandas-profiling later than 2.4.0 will automatically update these packages.

Simon
  • 5,464
  • 6
  • 49
  • 85