0

I am trying to replicate the tutorial found in the Prince Github Repository and plot a 2D MCA plot in Python with my data frame. However, when I run the plot command, I receive the following error:

module 'prince' has no attribute 'MCA'

df.columns = ['Avaliadores', 'Aceit_refer', 'Aceit_Basmati', 'Apar_refer']
import prince
mca = prince.MCA(n_components=2, n_iter=3, copy=True, check_input=True, engine='auto', random_state=42)
mca = mca.fit(df)

I already tried to do the same as explained by user3563929I.

D.L
  • 4,339
  • 5
  • 22
  • 45

0 Answers0